fixed double free error - svkbd - simple virtual keyboard
 (HTM) git clone git://git.suckless.org/svkbd
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2fa04e74fe304db479e3fb4c984c0868c725ab3c
 (DIR) parent 5fd07406aeef557ee500af776c25e88278135a0f
 (HTM) Author: Maarten van Gompel <proycon@anaproy.nl>
       Date:   Mon, 15 Mar 2021 23:30:15 +0100
       
       fixed double free error
       
       Diffstat:
         M Makefile                            |       4 ++--
         M svkbd.c                             |       1 -
       
       2 files changed, 2 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       @@ -27,12 +27,12 @@ config.h:
        svkbd.o: config.h layout.${LAYOUT}.h
        
        .c.o:
       -        ${CC} ${SVKBD_CFLAGS} ${SVKBD_CPPFLAGS} -c $<
       +        ${CC} -g ${SVKBD_CFLAGS} ${SVKBD_CPPFLAGS} -c $<
        
        ${OBJ}: config.h config.mk
        
        ${BIN}: ${OBJ}
       -        ${CC} -o ${BIN} ${OBJ} ${SVKBD_LDFLAGS}
       +        ${CC} -g -o ${BIN} ${OBJ} ${SVKBD_LDFLAGS}
        
        clean:
                rm -f ${NAME}-?? ${NAME}-??.o ${OBJ} ${BIN}
 (DIR) diff --git a/svkbd.c b/svkbd.c
       @@ -245,7 +245,6 @@ cleanup(void)
                drw_sync(drw);
                drw_free(drw);
                XSync(dpy, False);
       -        drw_free(drw);
                XDestroyWindow(dpy, win);
                XSync(dpy, False);
                XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);