Fixed two memory leaks. Don't treat unicode sequences over two bytes long as latin1 codepoints (fixes #99).

This commit is contained in:
LemonBoy
2015-01-25 21:14:06 +01:00
parent 78dc0d0d21
commit 6959085f8d
2 changed files with 206 additions and 192 deletions

View File

@@ -1,5 +1,4 @@
CC ?= gcc
STRIP ?= strip
CFLAGS = -std=c99 -Os
LDFLAGS = -lxcb -lxcb-xinerama -lxcb-randr
CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long\
@@ -22,7 +21,6 @@ doc: README.pod
${EXEC}: ${OBJS}
${CC} -o ${EXEC} ${OBJS} ${LDFLAGS}
${STRIP} -s ${EXEC}
debug: ${EXEC}
debug: CC += ${CFDEBUG}