summaryrefslogtreecommitdiff
path: root/frontends/amiga/clipboard.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 20:44:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 20:44:17 +0000
commita8bd2af7103bca7145f8c566ec46f27e2be8d182 (patch)
tree2c14d8d3402e7799b161852676dc8698310ed59f /frontends/amiga/clipboard.c
parent81a7e0cbe9851c2388e53950a6db3e75b1156ead (diff)
downloadnetsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.gz
netsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.bz2
More allocvec/malloc replacements
Diffstat (limited to 'frontends/amiga/clipboard.c')
-rw-r--r--frontends/amiga/clipboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/clipboard.c b/frontends/amiga/clipboard.c
index 73f471fda..9489110b7 100644
--- a/frontends/amiga/clipboard.c
+++ b/frontends/amiga/clipboard.c
@@ -127,10 +127,10 @@ static char *ami_clipboard_cat_collection(struct CollectionItem *ci, LONG codese
default:
if(ci_new) {
- ci_next->ci_Next = calloc(1, sizeof(struct CollectionItem), 0);
+ ci_next->ci_Next = calloc(1, sizeof(struct CollectionItem));
ci_next = ci_next->ci_Next;
} else {
- ci_new = calloc(1, sizeof(struct CollectionItem), 0);
+ ci_new = calloc(1, sizeof(struct CollectionItem));
ci_next = ci_new;
}