Wireshark-commits: [Wireshark-commits] master-2.6 0de5ef2: ssl: dtls: Fix small memory leaks
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0de5ef226d6534a5710720cb73896739798900c1
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
0de5ef2 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):
ssl: dtls: Fix small memory leaks
Use g_strsplit/g_strfreev instead of wmem_strsplit/wmem_free because in
wmem_strutil.h the wmem_strsplit is documented not to be used with a
NULL allocator.
The wmem_free does not free the string elements in contrast to g_strfreev.
Change-Id: Ia207d5df5b8b7edd4ba77071292761ae4819fb12
Reviewed-on: https://code.wireshark.org/review/28796
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/28798
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Actions performed:
from c8e423a [Automatic update for 2018-07-22]
adds 0de5ef2 ssl: dtls: Fix small memory leaks
Summary of changes:
epan/dissectors/packet-dtls.c | 8 ++++----
epan/dissectors/packet-ssl.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)