diff options
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index d28137cb3a..f18e44a870 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -233,7 +233,7 @@ static const gchar* replace_entity(Dtd_PreParse_scanner_state_t* state, gchar* e const gchar* dtd_location(Dtd_PreParse_scanner_state_t* state) { static gchar* loc = NULL; - if (loc) g_free(loc); + g_free(loc); if (!state) return NULL; |