summaryrefslogtreecommitdiff
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-09-11 16:10:46 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-09-11 15:36:27 +0000
commit0332275b161693c76257159c7f5d15f7b1008203 (patch)
tree4f98fb5f351b7394fe554e2e3173f4af3145bec6 /wireshark-qt.cpp
parent1d493ce156c4a230bc376d957c196cab31388dd2 (diff)
downloadwireshark-0332275b161693c76257159c7f5d15f7b1008203.tar.gz
qt: fix minor memory leaks on exit
Change-Id: I4856b7ce7eec15abe1278e9ba8314be61845347a Reviewed-on: https://code.wireshark.org/review/17638 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 446bfa7cb3..69f03d7f7f 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -475,6 +475,8 @@ int main(int argc, char *argv[])
"\n"
"%s",
get_ws_vcs_version_info(), comp_info_str->str, runtime_info_str->str);
+ g_string_free(comp_info_str, TRUE);
+ g_string_free(runtime_info_str, TRUE);
#ifdef _WIN32
/* Start windows sockets */