Wireshark-commits: [Wireshark-commits] master-2.2 f4478b3: ssl: dtls: Fix small memory leaks
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f4478b3d810ddfb07fcadf358145ade10570dfd1
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
f4478b3 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/28800
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Actions performed:
from 24a0c53 [Automatic update for 2018-07-22]
adds f4478b3 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(-)