edad9bb7f5
Instead of returning a const string, that is fed into strdup, tooltip functions are now supposed to return allocated strings. This fixes a memory leak in the battery tooltip. This is used instead of simply freeing the memory in the battery tooltip function, since it also avoids a uselesss strdup(). |
||
---|---|---|
.. | ||
area.c | ||
area.h | ||
common.c | ||
common.h | ||
strnatcmp.c | ||
strnatcmp.h | ||
timer.c | ||
timer.h | ||
window.c | ||
window.h |