Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
115569ca
Commit
115569ca
authored
Aug 03, 2014
by
Mathieu L Bouchard
Browse files
fixed memory leak in glist_write
parent
120a86e1
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/src/g_readwrite.c
View file @
115569ca
...
@@ -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"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment