summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-11-12 19:01:10 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-12 19:01:10 +0900
commit1281a8369f5200c2723fb027edc1625a4a939874 (patch)
tree72106c8548d0c953601c1dc2e688d4ccb8a8e0f6 /src/lib/eina
parent2a29732e0734af82294d7b1fccc52595f3020f15 (diff)
eina: fix uninitialized data use.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_stringshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_stringshare.c b/src/lib/eina/eina_stringshare.c
index a630368745..36af6d460a 100644
--- a/src/lib/eina/eina_stringshare.c
+++ b/src/lib/eina/eina_stringshare.c
@@ -680,7 +680,7 @@ eina_stringshare_nprintf(unsigned int len, const char *fmt, ...)
680 if (size < 1) 680 if (size < 1)
681 return NULL; 681 return NULL;
682 682
683 return eina_stringshare_add_length(tmp, len); 683 return eina_stringshare_add_length(tmp, size);
684} 684}
685 685
686EAPI Eina_Stringshare * 686EAPI Eina_Stringshare *