aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/uat_gui.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-13 22:06:48 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-13 22:06:48 +0000
commitfe45df06ecc42c95c5492467fc77445d35da9806 (patch)
tree259b574936077d87b88ed6d0429ba317078e0fcc /gtk/uat_gui.c
parentfaf2bcf32bed174c963532d43fa12fde1ab9c0f1 (diff)
From Jakub Zawadzki (bug 3331):
g_free() is NULL safe, so we don't need check against it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27718 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/uat_gui.c')
-rw-r--r--gtk/uat_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/uat_gui.c b/gtk/uat_gui.c
index 2b7c7744dc..d8e45d7870 100644
--- a/gtk/uat_gui.c
+++ b/gtk/uat_gui.c
@@ -636,7 +636,7 @@ static gboolean uat_window_delete_event_cb(GtkWindow *w _U_, GdkEvent* e _U_, gp
gtk_widget_destroy(uat->rep->window);
uat->rep = NULL;
- if (rep) g_free(rep);
+ g_free(rep);
}
return TRUE;
}