Re: dynamically growing 2D aray of structues

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

 



>  g_print ("Freeing struct %p: %s\n", p, p->p);
>
>  g_free (p->p);
>  g_free (p);

That should of course be g_slice_free (mystuct, p) as I allocated the
structure with g_slice_new.

/me blushes.

--tml
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux