Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed double free error - svkbd - simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log
Files
Refs
README
LICENSE
---
commit 2fa04e74fe304db479e3fb4c984c0868c725ab3c
parent 5fd07406aeef557ee500af776c25e88278135a0f
Author: Maarten van Gompel <[email protected]>
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(-)
---
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}
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);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.