cygutils: Fix resource leak in get_short_paths
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
9b01c29c04
commit
584c6643fe
|
@ -414,6 +414,7 @@ get_short_paths (char *path)
|
|||
exit (1);
|
||||
}
|
||||
my_wcstombs (ptr, sbuf, len);
|
||||
free (sbuf);
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue