1
1

* filegui.c (file_mask_dialog): Fix memory leak.

Этот коммит содержится в:
Andrew V. Samoilov 2004-11-08 20:10:33 +00:00
родитель f5afae1368
Коммит a309faa45c
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,7 @@
2004-11-09 Jindrich Novy <jnovy@redhat.com>
* filegui.c (file_mask_dialog): Fix memory leak.
2004-11-07 Leonard den Ottolander <leonard * den ottolander nl>
* slint.c (slang_init): Allow upto 512 lines and cols if the

Просмотреть файл

@ -898,8 +898,11 @@ file_mask_dialog (FileOpContext *ctx, FileOperation operation, const char *text,
*do_background = 0;
ask_file_mask:
if ((val = quick_dialog_skip (&Quick_input, SKIP)) == B_CANCEL)
if ((val = quick_dialog_skip (&Quick_input, SKIP)) == B_CANCEL) {
g_free (def_text_secure);
return 0;
}
g_free (def_text_secure);
if (ctx->follow_links)
ctx->stat_func = (mc_stat_fn) mc_stat;