From bb40336eb8a2acc9f2e3d2e9059b7d90afe5c0c4 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Mon, 29 Feb 2016 09:14:58 +0000
Subject: [PATCH] Some leaks still present in xml parsing library.

---
 src/bond.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bond.h b/src/bond.h
index 4022a6c..34cdba5 100644
--- a/src/bond.h
+++ b/src/bond.h
@@ -5,7 +5,7 @@
 /** Initialize bond list with zero values
  *	@param *blist is a pointer to a ts_bond_list structure
  */
-ts_bool init_bond_list(ts_bond_list *blist);
+ts_bond_list *init_bond_list();
 
 /** @brief Adds bond in the bond list
  *
@@ -18,9 +18,10 @@
  *  this is considered as fatal error and execution stops, returning error code to the operating
  *  system.
  */
-ts_bool bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2);
+ts_bond *bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2);
 
-
+ts_bool bond_vector(ts_bond *bond);
+ts_bool bond_list_free(ts_bond_list *blist);
 
 
 

--
Gitblit v1.9.3