2000-07-13 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/glob.c (glob): Fix memory leak.
[SHELL]: Remove reference to undefined variable `files'.
Fixes PR libc/1782.
+2000-07-13 Andreas Schwab <schwab@suse.de>
+
+ * sysdeps/generic/glob.c (glob): Fix memory leak.
+ [SHELL]: Remove reference to undefined variable `files'.
+ Fixes PR libc/1782.
+
2000-07-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
if (interrupt_state)
{
globfree (&dirs);
- globfree (&files);
return GLOB_ABORTED;
}
}
pglob->gl_pathv = new_pathv;
}
else
- return GLOB_NOMATCH;
+ {
+ globfree (&dirs);
+ return GLOB_NOMATCH;
+ }
}
globfree (&dirs);