mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 19:33:28 +00:00
fix segfault
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@49 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -41,6 +41,7 @@ MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent,
|
||||
|
||||
sh_new_strdup(h->text);
|
||||
sh_new_strdup(h->integer);
|
||||
sh_new_strdup(h->handler);
|
||||
|
||||
shdefault(h->integer, -1);
|
||||
shdefault(h->text, NULL);
|
||||
|
||||
Reference in New Issue
Block a user