From: William K. V. <wk...@us...> - 2005-06-05 20:13:28
|
On the surface this code looks like it's designed to leak, I can however imagine a use case so I thought I better ask. struct rlib_value * rlib_value_dup_contents(struct rlib_value *rval) { if(rval->type == RLIB_VALUE_STRING) rval->string_value = g_strdup(rval->string_value); return rval; } I'm going to comment it out and see what happens. Thanks for any insight. Cheers, William. |