example: genlist - intialize buffer array to 0
authorAmitesh Singh <amitesh.sh@samsung.com>
Wed, 14 Oct 2015 15:17:46 +0000 (20:47 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Wed, 14 Oct 2015 15:17:46 +0000 (20:47 +0530)
CID: 1327347

src/examples/genlist_example_05.c

index e15da74..48fe589 100644 (file)
@@ -75,7 +75,7 @@ _parent_content_get(void *data, Evas_Object *obj, const char *part)
 static char *
 _favorite_label_get(void *data, Evas_Object *obj, const char *part)
 {
-   char buf[256];
+   char buf[256] = {0};
    Node_Data *d = data;
 
    if (!strcmp(part, "elm.text"))