From 7010269f3bc74c764f5b4e9c72dd069ce34fb244 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo@altea> Date: Wed, 18 May 2016 17:56:30 +0000 Subject: [PATCH] Fix in memory leak. There were also leaks in the old code probably. --- src/restore.h | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/restore.h b/src/restore.h index cb1118b..821f5a2 100644 --- a/src/restore.h +++ b/src/restore.h @@ -1,9 +1,15 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _H_RESTORE #define _H_RESTORE -ts_bool parseDump(char *dumpfname); +ts_vesicle *parseDump(char *dumpfname); ts_vesicle *parseTrisurfTag(xmlDocPtr doc, xmlNodePtr cur); +ts_bool setGlobalTapeTXTfromTapeTag(xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfVtxn(ts_vertex_list *vlist, xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfTria(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); +ts_bool parseTrisurfTriaNeigh(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfTristar(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); +ts_bool parseXMLVertexPosition(ts_vesicle *vesicle,xmlDocPtr doc, xmlNodePtr cur); +ts_bool parseXMLBonds(ts_vesicle *vesicle,xmlDocPtr doc, xmlNodePtr cur); + #endif -- Gitblit v1.9.3