win: test calloc()

Closes CID1419432
This commit is contained in:
Boris Faure 2020-02-15 23:09:32 +01:00
parent 2316b92d67
commit 1a7df68b84
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 3 additions and 0 deletions

View File

@ -3313,6 +3313,9 @@ _tabs_mouse_down(
Evas_Coord mx = 0, my = 0;
Tab_Drag *tab_drag = calloc(1, sizeof(*tab_drag));
if (!tab_drag)
return;
tab_drag->e = evas_object_evas_get(term->bg);
evas_pointer_canvas_xy_get(tab_drag->e, &mx, &my);