Evas textblock: Fixed bug in style tags parsing.
authorTom Hacohen <tom@stosb.com>
Tue, 6 Mar 2012 13:54:37 +0000 (13:54 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 6 Mar 2012 13:54:37 +0000 (13:54 +0000)
Thanks a lot to cedric for letting me know about it.

SVN revision: 68831

legacy/evas/src/lib/canvas/evas_object_textblock.c

index 0165fdf..892804b 100644 (file)
@@ -4607,7 +4607,7 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
                        if (tags) free(tags);
                        if (replaces) free(replaces);
                     }
-                  key_start = key_stop = val_start;
+                  key_start = key_stop = val_start = NULL;
                }
              p++;
           }