Fix a potential segv in the shared string code.

SVN revision: 11091
This commit is contained in:
rbdpngn 2004-07-29 19:31:36 +00:00 committed by rbdpngn
parent a17635a739
commit 7dfc202b7d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ char *ecore_string_instance(char *string)
str->string = strdup(string);
str->references = 0;
ecore_hash_set(ecore_strings, string, str);
ecore_hash_set(ecore_strings, str->string, str);
}
str->references++;