Ticket #1863 (testing defect: duplicate) — at Version 2
fixing in seventeen files some memory alloc-calls
Reported by: | vit_r | Owned by: | vit_r |
---|---|---|---|
Priority: | major | Milestone: | 4.7 |
Component: | mc-core | Version: | 4.7.0-pre4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description (last modified by andrew_b) (diff)
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.