aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-03 05:01:04 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-03 05:01:04 +0100
commit246dc7599605bdac05f40a28b355a2f7efc3e951 (patch)
treed84b2e5179fb00f152ec0cf8ed32ab1f6ccb352f /src
parentm doc + parse command line (diff)
downloadlibrarian-246dc7599605bdac05f40a28b355a2f7efc3e951.tar.gz
librarian-246dc7599605bdac05f40a28b355a2f7efc3e951.tar.bz2
librarian-246dc7599605bdac05f40a28b355a2f7efc3e951.tar.xz
whoops
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/librarian.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librarian.c b/src/librarian.c
index 8179f76..0ebdf3a 100644
--- a/src/librarian.c
+++ b/src/librarian.c
@@ -104,9 +104,6 @@ static int is_variable(const char *s)
*/
static int parse_library(char *s, struct library *lib)
{
-#define CLEANUP \
- free(libraries)
-
char *p;
char c;
@@ -158,6 +155,9 @@ static int parse_library(char *s, struct library *lib)
*/
int main(int argc, char *argv[])
{
+#define CLEANUP \
+ free(libraries)
+
int dashed = 0, f_deps = 0, f_locate = 0, f_oldest = 0;
char *arg;
char **args = argv;