Re: Fixing a long standing bug in view.c



> Yes, this sure is much simpler :) Just don't forget to view->data=NULL in
> the else branch as otherwise you'll get a segfault here:
>
>        if (view->data != NULL)
>             g_free (view->data);

Thanks!  Fixed.

-- 
Regards,
Pavel Roskin



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