Conky: received SIGINT or SIGTERM to terminate. bye! ==1776== ==1776== Invalid free() / delete / delete[] ==1776== at 0x40210CA: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==1776== by 0x804FDC1: free_text_objects (conky.c:2055) ==1776== by 0x80600E5: clean_up (conky.c:6511) ==1776== by 0x805FDE1: main_loop (conky.c:6404) ==1776== by 0x80629AF: main (conky.c:7543) ==1776== Address 0x471EF98 is 0 bytes inside a block of size 512 free'd ==1776== at 0x40210CA: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==1776== by 0x804FDAA: free_text_objects (conky.c:2050) ==1776== by 0x80600E5: clean_up (conky.c:6511) ==1776== by 0x805FDE1: main_loop (conky.c:6404) ==1776== by 0x80629AF: main (conky.c:7543) 2048 #ifdef RSS 2049 case OBJ_rss: 2050 free(objs[i].data.rss.uri); 2051 free(objs[i].data.rss.action); 2052 #endif 2053 case OBJ_pre_exec: 2054 case OBJ_battery: 2055 free(objs[i].data.s); 2056 break; 2057 case OBJ_battery_time: 2058 free(objs[i].data.s); 2059 break; 3125 int argc, delay, act_par; 3126 char *uri = (char *)malloc(128 * sizeof(char *)); 3127 char *action = (char *)malloc(64 * sizeof(char *)); 3128 3129 argc = sscanf(arg, "%127s %d %63s %d", uri, &delay, action, &act_par); 3130 obj->data.rss.uri = uri; 3131 obj->data.rss.delay = delay; 3132 obj->data.rss.action = action; 3133 obj->data.rss.act_par = act_par; 3134 3135 init_rss_info();