summaryrefslogtreecommitdiff
path: root/build-aux%25252525252525253fid%25252525252525253dc5e4187590f37e9524a8e3fcb2bc...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-18 01:18:03 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-22 02:47:36 +0200
commit112fbe00a4e7fe23b7314485304df7a9b029fda6 (patch)
tree4a50c891a39a74c453940a6ae5dbef90a1558603 /build-aux%25252525252525253fid%25252525252525253dc5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb%252525252525253fid%252525252525253dc5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb%2525252525253fid%2525252525253dc5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb%25252525253fid%25252525253dcbd66b13b12d841f25711893709f19fb7905e6b3%252525253fid%252525253d20c84c300354f79fac9952bf8b42ca26090baa09%2525253fid%2525253d20c84c300354f79fac9952bf8b42ca26090baa09%25253fid%25253d20c84c300354f79fac9952bf8b42ca26090baa09&id2%25253d112fbe00a4e7fe23b7314485304df7a9b029fda6%253fid%253d20c84c300354f79fac9952bf8b42ca26090baa09%3fid%3d20c84c300354f79fac9952bf8b42ca26090baa09?id=112fbe00a4e7fe23b7314485304df7a9b029fda6
parentfb5f9d0155d63451bd16d7d50204da90ff604949 (diff)
llist.c: Nullify pointers after free()'ing.
* Set all data members to "NULL" in llist_free_inner() after freeing them. Altough we normally shouldn't continue working with a list that already went through llist_free_inner(), this will protect against dangling pointer bugs in case anyone will ever come up with the idea of doing so. * Set list head to "NULL" in llist_free(), basically to put the list into an initialized state. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'build-aux%25252525252525253fid%25252525252525253dc5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb%252525252525253fid%252525252525253dc5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb%2525252525253fid%2525252525253dc5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb%25252525253fid%25252525253dcbd66b13b12d841f25711893709f19fb7905e6b3%252525253fid%252525253d20c84c300354f79fac9952bf8b42ca26090baa09%2525253fid%2525253d20c84c300354f79fac9952bf8b42ca26090baa09%25253fid%25253d20c84c300354f79fac9952bf8b42ca26090baa09&id2%25253d112fbe00a4e7fe23b7314485304df7a9b029fda6%253fid%253d20c84c300354f79fac9952bf8b42ca26090baa09%3fid%3d20c84c300354f79fac9952bf8b42ca26090baa09?id=112fbe00a4e7fe23b7314485304df7a9b029fda6')
0 files changed, 0 insertions, 0 deletions