VTerm - Bugfixing mostly
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / wm.c
index 1bc8db2..bb8d7f2 100644 (file)
@@ -136,7 +136,7 @@ tElement *AxWin_CreateAppWindow(tApplication *App, const char *Name)
        tElement        *ret;
        tWindow *win;
        
-       win = calloc(sizeof(tWindow) + 1);
+       win = calloc(1, sizeof(tWindow) + 1);
        if(!win)        return NULL;
        
        ret = &win->Element;

UCC git Repository :: git.ucc.asn.au