diff options
Diffstat (limited to 'utils/erase.c')
-rw-r--r-- | utils/erase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/erase.c b/utils/erase.c index ae15ac8..fdf7496 100644 --- a/utils/erase.c +++ b/utils/erase.c @@ -750,7 +750,7 @@ eraser_init (Display *dpy, Window window) which = -1; else which = get_integer_resource(dpy, "eraseMode", "Integer"); - free (s); + if (s) free (s); if (which < 0 || which >= countof(erasers)) which = random() % countof(erasers); |