From 9f2c89e1fbc2fd019f10360f144174b4012962e6 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 9 Feb 2016 10:02:12 +0000 Subject: Fix Coverity #1350096. --- src/core/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/node.c b/src/core/node.c index 8800a4b..d72af0f 100644 --- a/src/core/node.c +++ b/src/core/node.c @@ -2329,7 +2329,7 @@ static inline dom_exception _dom_event_targets_expand( /* Create the event target list */ size = 64; t = calloc(sizeof(*t), size); - if (targets == NULL) { + if (t == NULL) { return DOM_NO_MEM_ERR; } } else { -- cgit v1.2.3