diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-12 13:11:13 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-12 13:11:13 +0100 |
commit | ade86e496ea4bc27b6edab125bad9f5dc4bb3852 (patch) | |
tree | 81aae5427d06ae06be2968df5d025780206bf682 /amiga/launch.c | |
parent | 6ea52d0d9f423a13acc7c7fe015038a15a9636ff (diff) | |
download | netsurf-ade86e496ea4bc27b6edab125bad9f5dc4bb3852.tar.gz netsurf-ade86e496ea4bc27b6edab125bad9f5dc4bb3852.tar.bz2 |
Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary.
Diffstat (limited to 'amiga/launch.c')
-rwxr-xr-x | amiga/launch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/amiga/launch.c b/amiga/launch.c index 3236e797b..ebd82294a 100755 --- a/amiga/launch.c +++ b/amiga/launch.c @@ -47,8 +47,7 @@ struct ami_protocol struct ami_protocol *ami_openurl_add_protocol(const char *url) { struct ami_protocol *ami_p = - (struct ami_protocol *)AllocVec(sizeof(struct ami_protocol), - MEMF_PRIVATE | MEMF_CLEAR); + (struct ami_protocol *)AllocVecTagList(sizeof(struct ami_protocol), NULL); if(url_scheme(url, &ami_p->protocol) != URL_FUNC_OK) { |