diff options
Diffstat (limited to '')
-rw-r--r-- | build-aux/speedo/w32/g4wihelp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build-aux/speedo/w32/g4wihelp.c b/build-aux/speedo/w32/g4wihelp.c index d62d03647..626f3f12c 100644 --- a/build-aux/speedo/w32/g4wihelp.c +++ b/build-aux/speedo/w32/g4wihelp.c @@ -1159,7 +1159,10 @@ path_remove (HWND hwndParent, int string_size, char *variables, free (path); if (! changed) - return; + { + free (path_new); + return; + } /* Set a key for our CLSID. */ RegCreateKey (root_key, env_reg, &key_handle); |