diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-09 10:02:12 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-09 10:02:12 +0000 |
commit | 9f2c89e1fbc2fd019f10360f144174b4012962e6 (patch) | |
tree | f517fec4334eb4a342e77ae67efd38df1fcc94e9 /src/core | |
parent | fe6eb48a7b80dc8a6c94e5b7f67cf42b916b1086 (diff) | |
download | libdom-9f2c89e1fbc2fd019f10360f144174b4012962e6.tar.gz libdom-9f2c89e1fbc2fd019f10360f144174b4012962e6.tar.bz2 |
Fix Coverity #1350096.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |