diff options
Diffstat (limited to 'src/win_in_gtk2.cpp')
-rw-r--r-- | src/win_in_gtk2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win_in_gtk2.cpp b/src/win_in_gtk2.cpp index 4cc19c1..eabc1ac 100644 --- a/src/win_in_gtk2.cpp +++ b/src/win_in_gtk2.cpp @@ -212,7 +212,7 @@ suil_wrapper_new(SuilHost* host, return NULL; } - SuilWrapper* wrapper = (SuilWrapper*)malloc(sizeof(SuilWrapper)); + SuilWrapper* wrapper = (SuilWrapper*)calloc(1, sizeof(SuilWrapper)); wrapper->wrap = wrapper_wrap; wrapper->free = wrapper_free; |