diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-03-15 18:08:46 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-03-15 18:08:46 +0000 |
commit | 0258be0b0544d4ccb08f2b01ef2b59f7c7afd6fd (patch) | |
tree | 44e6b5fab5e07e13c8e55052f5fa45e0c61c2e8c /tshark.c | |
parent | 0f9f5caf9deb0dda5ea5fe1642d2e9bc7e7fe43f (diff) |
From Jakub Zawadzki:
More remove checking for NULL before g_free().
svn path=/trunk/; revision=27728
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2313,8 +2313,7 @@ out: wtap_close(cf->wth); cf->wth = NULL; - if (save_file_string != NULL) - g_free(save_file_string); + g_free(save_file_string); return err; } |