diff options
Diffstat (limited to 'ui/cli/tap-macltestat.c')
-rw-r--r-- | ui/cli/tap-macltestat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cli/tap-macltestat.c b/ui/cli/tap-macltestat.c index c50dab9a87..d5afbdd4eb 100644 --- a/ui/cli/tap-macltestat.c +++ b/ui/cli/tap-macltestat.c @@ -517,7 +517,7 @@ static void mac_lte_stat_init(const char *opt_arg, void *userdata _U_) { mac_lte_stat_t *hs; const char *filter = NULL; - GString *error_string; + gchar *error_string; /* Check for a filter string */ if (strncmp(opt_arg, "mac-lte,stat,", 13) == 0) { @@ -539,7 +539,7 @@ static void mac_lte_stat_init(const char *opt_arg, void *userdata _U_) mac_lte_stat_packet, mac_lte_stat_draw); if (error_string) { - g_string_free(error_string, TRUE); + wmem_free(NULL, error_string); g_free(hs); exit(1); } |