From a1af59d67785b481efebef5b5db311b51ed05343 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Wed, 24 Sep 2008 22:40:20 +0200 Subject: [PATCH] Avoid potential memleak. --- src/misc/variables.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/misc/variables.c b/src/misc/variables.c index 6064ca3f80..ad297c60d7 100644 --- a/src/misc/variables.c +++ b/src/misc/variables.c @@ -1096,6 +1096,7 @@ void var_OptionParse( vlc_object_t *p_obj, const char *psz_option, { msg_Err( p_obj, "unsafe option \"%s\" has been ignored for " "security reasons", psz_name ); + free( psz_name ); return; } } -- 2.39.5