projects
/
platform
/
upstream
/
libxml2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sync with tizen 2.4
[platform/upstream/libxml2.git]
/
hash.c
diff --git
a/hash.c
b/hash.c
index
0145109
..
f9a2017
100644
(file)
--- a/
hash.c
+++ b/
hash.c
@@
-984,6
+984,9
@@
xmlHashCopy(xmlHashTablePtr table, xmlHashCopier f) {
return(NULL);
ret = xmlHashCreate(table->size);
+ if (ret == NULL)
+ return(NULL);
+
if (table->table) {
for(i = 0; i < table->size; i++) {
if (table->table[i].valid == 0)