diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 21:40:32 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 21:40:32 +0000 |
commit | 05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d (patch) | |
tree | 4dfcf8af6868400d5464e61cd625609f1cf5001a /frontends/amiga/search.c | |
parent | 4f0c9b6c610d1eb9a5bcccf6dbf3f53410df9432 (diff) | |
download | netsurf-05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d.tar.gz netsurf-05fa29ba8bc2dbfaa9af7ed1263554c7cdc9214d.tar.bz2 |
more allocvec/malloc changes
Diffstat (limited to 'frontends/amiga/search.c')
-rwxr-xr-x | frontends/amiga/search.c | 2 |
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(), |