From 3c772b77bab770a167924b17e248aa2dd022e38a Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@altea>
Date: Tue, 16 Feb 2016 19:48:43 +0000
Subject: [PATCH] Small fix, so it compiles

---
 src/restore.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/restore.c b/src/restore.c
index f7725b4..7ab9bc3 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -32,7 +32,7 @@
 	cur = cur->xmlChildrenNode;
 	while (cur != NULL) {
 		if ((!xmlStrcmp(cur->name, (const xmlChar *)"trisurf"))){
-			*vesicle=parseTrisurfTag(doc, cur);
+			vesicle=parseTrisurfTag(doc, cur);
 		}
 		 
 	cur = cur->next;
@@ -41,6 +41,7 @@
 	xmlFreeDoc(doc);
 	fprintf(stderr,"Restoration completed\n");
 	exit(0);
+	vesicle_free(vesicle);
 	return TS_SUCCESS;
 }
 

--
Gitblit v1.9.3