diff options
author | Nick White <hg@njw.me.uk> | 2011-07-17 18:43:00 +0100 |
---|---|---|
committer | Nick White <hg@njw.me.uk> | 2011-07-17 18:43:00 +0100 |
commit | 56e05f3bb7558e5e276552c9881f4a1e93656442 (patch) | |
tree | 7df7293a31e0d328f5baca23a041372a5da1901f | |
parent | 009f8b3abd0f8aca6b027c24ce63ef7dd0d8e9be (diff) |
Fix free bug
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | config.mk | 8 | ||||
-rw-r--r-- | getgbook.c | 2 |
3 files changed, 5 insertions, 7 deletions
@@ -1,4 +1,4 @@ -order is prob available even for pages that don't have src. check this, and if so rewrite getpagedetails to set it even if no src (rather than just bailing) +order is available even for pages that don't have src. check this, and if so rewrite getpagedetails to set it even if no src (rather than just bailing) use order to be able to use real page numbers (getpagecode) to find this advance through click3 letter by letter until either } (none found) or strcmp "order" @@ -8,11 +8,11 @@ CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ -DVERSION=\"$(VERSION)\" # musl static -CC = musl-gcc -LDFLAGS = -static #-s +#CC = musl-gcc +#LDFLAGS = -static #-s # glibc dynamic -#CC = cc -#LDFLAGS = +CC = cc +LDFLAGS = LD = ld @@ -139,7 +139,5 @@ int main(int argc, char *argv[]) } } - free(bookid); - return EXIT_SUCCESS; } |