]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - write.c
Fix git-version file creation.
[paraslash.git] / write.c
diff --git a/write.c b/write.c
index 424286b5a4c21613517d632777d3052578e869fd..cf48922a473e23a85d4153d9784af0cfcbb3011f 100644 (file)
--- a/write.c
+++ b/write.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2011 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -23,6 +23,7 @@
 #include "write_common.h"
 #include "fd.h"
 #include "error.h"
+#include "version.h"
 
 INIT_WRITE_ERRLISTS;
 
@@ -216,6 +217,7 @@ out:
 
                w->close(wn);
                btr_free_node(wn->btrn);
+               w->free_config(wn->conf);
                free(wn->conf);
        }
        free(wns);