g_free() url and title in add_new_entry_cmd()

Andrew V. Samoilov andrew at email.zp.ua
Thu Nov 11 08:35:21 UTC 2004


Hi, Leonard

> Shouldn't url and title be g_free()d after the call to add2hotlist in
> add_new_entry_cmd()?

No, it will lead to double free because title and url are g_free()d in remove_group() or remove_from_hotlist().

-- 
Regards,
Andrew V. Samoilov.




More information about the mc-devel mailing list