Wireshark-commits: [Wireshark-commits] master 10306f9: Free g_array_free-related memory leaks
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=10306f9a32ee4ca65283110ac286bb1ba9ef2a01
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
10306f9 by Peter Wu (peter@xxxxxxxxxxxxx):
Free g_array_free-related memory leaks
g_array_free(a, FALSE) returns "a->data". Callers that do not handle
this will leak memory. Convert other users to use the return value
instead of direct access to "a->data".
Change-Id: I0a29864e8106c0bf09e9573ef29e4474179c4171
Reviewed-on: https://code.wireshark.org/review/27438
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from bb81e18 Free g_ptr_array_free-related memory leaks
adds 10306f9 Free g_array_free-related memory leaks
Summary of changes:
epan/dfilter/dfilter-macro.c | 4 +---
epan/dissectors/packet-diameter.c | 3 +--
epan/oids.c | 3 +--
epan/radius_dict.l | 6 ++----
epan/stats_tree.c | 2 +-
epan/wslua/wslua_pref.c | 4 +---
epan/wslua/wslua_proto_field.c | 8 ++------
7 files changed, 9 insertions(+), 21 deletions(-)