Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d4538ec5
Commit
d4538ec5
authored
Jan 30, 2006
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlm.c: changed quite a few free() into vlm_MessageDelete, fixing small memleaks here and there
parent
444653a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/misc/vlm.c
src/misc/vlm.c
+4
-4
No files found.
src/misc/vlm.c
View file @
d4538ec5
...
...
@@ -125,7 +125,7 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
if
(
vlm_ExecuteCommand
(
p_vlm
,
psz_buffer
,
&
p_message
)
){
msg_Warn
(
p_this
,
"error while loading the vlm conf file"
);
}
fre
e
(
p_message
);
vlm_MessageDelet
e
(
p_message
);
free
(
psz_buffer
);
}
}
...
...
@@ -2013,11 +2013,11 @@ static int Load( vlm_t *vlm, char *file )
if
(
message
->
psz_value
)
msg_Err
(
vlm
,
"Load error on line %d: %s: %s"
,
i_line
,
message
->
psz_name
,
message
->
psz_value
);
fre
e
(
message
);
vlm_MessageDelet
e
(
message
);
}
return
1
;
}
if
(
message
)
fre
e
(
message
);
if
(
message
)
vlm_MessageDelet
e
(
message
);
pf
+=
i_end
;
i_line
++
;
...
...
@@ -2430,7 +2430,7 @@ static int Manage( vlc_object_t* p_object )
ExecuteCommand
(
vlm
,
psz_command
,
&
message
);
/* for now, drop the message */
fre
e
(
message
);
vlm_MessageDelet
e
(
message
);
TAB_REMOVE
(
i_scheduled_commands
,
ppsz_scheduled_commands
,
psz_command
);
...
...
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