diff options
Diffstat (limited to 'plugins/mate/packet-mate.c')
-rw-r--r-- | plugins/mate/packet-mate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mate/packet-mate.c b/plugins/mate/packet-mate.c index 98267e5d4e..5ece48b188 100644 --- a/plugins/mate/packet-mate.c +++ b/plugins/mate/packet-mate.c @@ -327,7 +327,7 @@ extern void proto_reg_handoff_mate(void) { - gchar* tap_error = NULL; + GString* tap_error = NULL; if ( *pref_mate_config_filename != '\0' ) { @@ -354,8 +354,8 @@ proto_reg_handoff_mate(void) (tap_draw_cb) NULL); if ( tap_error ) { - g_warning("mate: couldn't (re)register tap: %s", tap_error); - wmem_free(NULL, tap_error); + g_warning("mate: couldn't (re)register tap: %s",tap_error->str); + g_string_free(tap_error, TRUE); mate_tap_data = 0; return; } |