Re: g_free() url and title in add_new_entry_cmd()

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().

Andrew V. Samoilov.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]