From 5b9ee8bd462b8be998c011f2d0be594fc6f7bf06 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Fri, 13 Jun 2014 20:44:51 +0000
Subject: [PATCH] Cahnged capping on the end of the line

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

diff --git a/src/main.c b/src/main.c
index e67764d..f300719 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,6 @@
 #include<stdio.h>
 #include<math.h>
+#include<stdlib.h>
 #include "general.h"
 #include "vertex.h"
 #include "bond.h"
@@ -51,7 +52,7 @@
 		vesicle->pressure=tape->pressure;
 		vesicle->dmax=tape->dmax*tape->dmax;
 		poly_assign_filament_xi(vesicle,tape);
-        tape_free(vesicle->tape);
+        free(vesicle->tape);
         vesicle->tape=tape;
 		vesicle->clist->dmin_interspecies = tape->dmin_interspecies*tape->dmin_interspecies;
         /* spherical harmonics */

--
Gitblit v1.9.3