1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00

Fix minor memleak.

This commit is contained in:
Brenden Matthews 2009-07-20 00:40:23 -06:00
parent 5f1fb1fc46
commit f46eb1b6cb

View File

@ -930,6 +930,7 @@ static void free_text_objects(struct text_object *root, int internal)
#endif
#ifdef HAVE_LUA
case OBJ_lua:
case OBJ_lua_parse:
case OBJ_lua_bar:
#ifdef X11
case OBJ_lua_graph:
@ -4691,6 +4692,7 @@ static void generate_text_internal(char *p, int p_max_size,
char *str = llua_getstring(obj->data.s);
if (str) {
evaluate(str, p);
free(str);
}
}
OBJ(lua_bar) {