~reedwade/svkbd

0a3e555a1197144a940e1d892174fb7d0f65efd5 — Maarten van Gompel 1 year, 8 months ago ab20d27
fixed double free error
2 files changed, 2 insertions(+), 3 deletions(-)

M Makefile
M svkbd.c
M Makefile => Makefile +2 -2
@@ 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}

M svkbd.c => svkbd.c +0 -1
@@ 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);