* eet_node: Fix eet_data_undump segv when Eet_Node == NULL.

SVN revision: 40894
This commit is contained in:
Cedric BAIL 2009-06-04 09:29:56 +00:00
parent 4de864c578
commit 9c5a02a771
1 changed files with 2 additions and 0 deletions

View File

@ -1671,6 +1671,8 @@ _eet_data_dump_encode(Eet_Dictionary *ed,
else words_bigendian = 0;
}
if (node == NULL) return NULL;
ds = eet_data_stream_new();
if (!ds) return NULL;