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
62f24677
Commit
62f24677
authored
May 07, 2007
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python bindings: use mediacontrol_StreamInformation__free + fix
memleak in MediaControl_snapshot
parent
a5623bf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bindings/python/vlc_mediacontrol.c
bindings/python/vlc_mediacontrol.c
+3
-2
No files found.
bindings/python/vlc_mediacontrol.c
View file @
62f24677
...
...
@@ -406,6 +406,8 @@ MediaControl_snapshot( PyObject *self, PyObject *args )
PyDict_SetItemString
(
py_obj
,
"date"
,
Py_BuildValue
(
"L"
,
p_retval
->
date
)
);
mediacontrol_RGBPicture__free
(
p_retval
);
return
py_obj
;
}
...
...
@@ -463,8 +465,7 @@ MediaControl_get_stream_information( PyObject *self, PyObject *args )
PyDict_SetItemString
(
py_obj
,
"length"
,
Py_BuildValue
(
"L"
,
retval
->
length
)
);
free
(
retval
->
url
);
free
(
retval
);
mediacontrol_StreamInformation__free
(
retval
);
return
py_obj
;
}
...
...
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