summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5f2b641)
Not actually needed (was added to track down the corruption fixed in the
last changeset, which was unrelated), but probably worth keeping around.
if (string->len == len)
return;
if (string->len == len)
return;
+ g_warn_if_fail(string->refcount == 1);
+
string->data = g_realloc(string->data, len);
string->len = len;
}
string->data = g_realloc(string->data, len);
string->len = len;
}