diff options
Diffstat (limited to 'ui/cli/tap-gsm_astat.c')
-rw-r--r-- | ui/cli/tap-gsm_astat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cli/tap-gsm_astat.c b/ui/cli/tap-gsm_astat.c index 7dc26e3d07..8b5bb2b5ab 100644 --- a/ui/cli/tap-gsm_astat.c +++ b/ui/cli/tap-gsm_astat.c @@ -320,7 +320,7 @@ static void gsm_a_stat_init(const char *opt_arg _U_, void *userdata _U_) { gsm_a_stat_t *stat_p; - gchar *err_p; + GString *err_p; stat_p = g_new(gsm_a_stat_t, 1); @@ -335,7 +335,7 @@ gsm_a_stat_init(const char *opt_arg _U_, void *userdata _U_) if (err_p != NULL) { g_free(stat_p); - wmem_free(NULL, err_p); + g_string_free(err_p, TRUE); exit(1); } |