Do not free paths returned from vfs_s_get_path_mangle.
Этот коммит содержится в:
родитель
b15c763325
Коммит
24c6ab65f5
@ -1,3 +1,8 @@
|
||||
2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
|
||||
not strdupped(), so it must not be g_free'd.
|
||||
|
||||
2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
|
||||
|
@ -1440,7 +1440,6 @@ send_ftp_command(vfs *me, char *filename, char *cmd, int flags)
|
||||
if (!(rpath = vfs_s_get_path_mangle(me, filename, &super, 0)))
|
||||
return -1;
|
||||
p = translate_path (me, super, rpath);
|
||||
g_free(rpath);
|
||||
r = command (me, super, WAIT_REPLY, cmd, p);
|
||||
g_free (p);
|
||||
vfs_add_noncurrent_stamps (&vfs_ftpfs_ops, (vfsid) super, NULL);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user