diff options
Diffstat (limited to 'hacks/cwaves.c')
-rw-r--r-- | hacks/cwaves.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hacks/cwaves.c b/hacks/cwaves.c index 20dd80a..b032626 100644 --- a/hacks/cwaves.c +++ b/hacks/cwaves.c @@ -182,6 +182,11 @@ cwaves_event (Display *dpy, Window window, void *closure, XEvent *event) static void cwaves_free (Display *dpy, Window window, void *closure) { + state *st = (state *) closure; + XFreeGC (dpy, st->gc); + free (st->colors); + free (st->waves); + free (st); } |