Skip to content
Snippets Groups Projects
Commit 115569ca authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

fixed memory leak in glist_write

parent 120a86e1
No related branches found
No related tags found
No related merge requests found
...@@ -534,7 +534,6 @@ static void glist_write(t_glist *x, t_symbol *filename, t_symbol *format) ...@@ -534,7 +534,6 @@ static void glist_write(t_glist *x, t_symbol *filename, t_symbol *format)
int cr = 0; int cr = 0;
t_binbuf *b; t_binbuf *b;
char buf[MAXPDSTRING]; char buf[MAXPDSTRING];
t_symbol **templatevec = getbytes(0);
t_canvas *canvas = glist_getcanvas(x); t_canvas *canvas = glist_getcanvas(x);
canvas_makefilename(canvas, filename->s_name, buf, MAXPDSTRING); canvas_makefilename(canvas, filename->s_name, buf, MAXPDSTRING);
if (!strcmp(format->s_name, "cr")) if (!strcmp(format->s_name, "cr"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment