Ticket #1863 (new defect) — at Initial Version
fixing in seventeen files some memory alloc-calls
| Reported by: | vit_r | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 4.7 |
| Component: | mc-core | Version: | 4.7.0-pre4 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Branch state: | Votes for changeset: |
Description
Logical design:
if [ g_Xalloc(which failing does _NOT_ return NULL) ]; then
If (retval _IS_ checked); then
g_Xalloc is replaced by g_try_Xalloc(failing returns NULL)
fi
elif [ Xalloc(failing returns NULL) ]; then
If (retval is _NOT_ checked); then
Xalloc is replaced by g_Xalloc(failing aborts)
fi
fi
Change History
Note: See
TracTickets for help on using
tickets.
