aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse_util.c')
-rw-r--r--parse_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse_util.c b/parse_util.c
index fff0570e..d4b82146 100644
--- a/parse_util.c
+++ b/parse_util.c
@@ -778,6 +778,7 @@ static int path_util_load_internal( const wchar_t *cmd,
{
wchar_t *esc = escape( (wchar_t *)path->buff, 1 );
wchar_t *src_cmd = wcsdupcat( L". ", esc );
+ free( esc );
if( !tm )
{
@@ -792,7 +793,6 @@ static int path_util_load_internal( const wchar_t *cmd,
intern( cmd ),
tm );
- free( esc );
if( on_load )
on_load(cmd );