From 115569ca95eebfd8be8a79fae99e90abdcf63b4c Mon Sep 17 00:00:00 2001
From: Mathieu L Bouchard <matju@artengine.ca>
Date: Sun, 3 Aug 2014 18:29:31 -0400
Subject: [PATCH] fixed memory leak in glist_write

---
 pd/src/g_readwrite.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pd/src/g_readwrite.c b/pd/src/g_readwrite.c
index 02b75d576..259d947fc 100644
--- a/pd/src/g_readwrite.c
+++ b/pd/src/g_readwrite.c
@@ -534,7 +534,6 @@ static void glist_write(t_glist *x, t_symbol *filename, t_symbol *format)
     int cr = 0;
     t_binbuf *b;
     char buf[MAXPDSTRING];
-    t_symbol **templatevec = getbytes(0);
     t_canvas *canvas = glist_getcanvas(x);
     canvas_makefilename(canvas, filename->s_name, buf, MAXPDSTRING);
     if (!strcmp(format->s_name, "cr"))
-- 
GitLab