Skip to content

Commit

Permalink
cr-dump: core_entry_free should free core
Browse files Browse the repository at this point in the history
CID 996205 (cyrillos#1-2 of 2): Resource leak (RESOURCE_LEAK)
14. leaked_storage: Variable "core" going out of scope leaks the storage it points to.
  • Loading branch information
avagin committed Apr 4, 2013
1 parent 6256a43 commit adae02d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cr-dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ static void core_entry_free(CoreEntry *core)
xfree(core->thread_core);
xfree(core->tc);
xfree(core->ids);
xfree(core);
}
}

Expand Down

0 comments on commit adae02d

Please sign in to comment.