malloc vs g_malloc



Hello.

Is it possible to mix g_malloc (e.g. g_strdup_printf()) and then a normal
free() instead of a g_free() ?

I do mix them in my application and it seems to be ok under linux, but maybe
this could be the reason for the instability under Solaris, etc.

Could it be?

Markus.




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