Commit 28f096cb 28f096cbc8f3ffd1f04d778f8738242e9f2a042c by Sergey Poznyakoff

Fixed memory leak in strobj_free()

1 parent 6e19aa1e
......@@ -97,7 +97,8 @@ strobj_assign (strobj_t *lvalue, strobj_t *rvalue)
{
strobj_free (lvalue);
*lvalue = *rvalue;
strobj_free (rvalue);
rvalue->size = 0;
rvalue->ptr = NULL;
}
static void
......