summaryrefslogtreecommitdiff
path: root/frontends/amiga/search.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 21:40:32 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 21:40:32 +0000
commit05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d (patch)
tree4dfcf8af6868400d5464e61cd625609f1cf5001a /frontends/amiga/search.c
parent4f0c9b6c610d1eb9a5bcccf6dbf3f53410df9432 (diff)
downloadnetsurf-05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d.tar.gz
netsurf-05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d.tar.bz2
more allocvec/malloc changes
Diffstat (limited to 'frontends/amiga/search.c')
-rwxr-xr-xfrontends/amiga/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/search.c b/frontends/amiga/search.c
index 7a49919be..7725e869c 100755
--- a/frontends/amiga/search.c
+++ b/frontends/amiga/search.c
@@ -122,7 +122,7 @@ void ami_search_open(struct gui_window *gwin)
return;
}
- fwin = ami_misc_allocvec_clear(sizeof(struct find_window), 0);
+ fwin = calloc(1, sizeof(struct find_window));
fwin->objects[OID_MAIN] = WindowObj,
WA_ScreenTitle, ami_gui_get_screen_title(),