Hi,

edward hage <[EMAIL PROTECTED]> writes:

>     gchar *labeltext1;
>
>     g_snprintf(labeltext1, 6, "%f", sim.stepsize);
>
>     g_free(labeltext1);

I suggest you read the snprintf() manpage. You are using g_snprintf()
on unallocated memory and later you even free the memory that has
never before been allocated.


Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to