Rare memory leak in vfs/vfs.c
- From: "Andrew V. Samoilov" <andrew email zp ua>
- To: proski gnu org
- Cc: mc-devel gnome org
- Subject: Rare memory leak in vfs/vfs.c
- Date: Thu, 16 Oct 2003 14:17:52 +0300 (EEST)
Hello,
--
Regards,
Andrew V. Samoilov.
ChangeLog:
* vfs.c (mc_open): Fix rare memory leak.
--- vfs.c~ Wed Oct 15 16:38:32 2003
+++ vfs.c Wed Oct 15 18:28:56 2003
@@ -391,6 +391,7 @@ mc_open (const char *filename, int flags
va_end (ap);
if (!vfs->open) {
+ g_free (file);
errno = -EOPNOTSUPP;
return -1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]