Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
bde235ca
Commit
bde235ca
authored
Dec 04, 2009
by
ivoire
Browse files
dc1394: fix memleaks.
parent
c4fc052b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dc1394.c
View file @
bde235ca
...
...
@@ -521,6 +521,7 @@ static void Close( vlc_object_t *p_this )
dc1394_camera_free
(
p_sys
->
camera
);
dc1394_free
(
p_sys
->
p_dccontext
);
free
(
p_sys
->
video_device
);
free
(
p_sys
->
audio_device
);
free
(
p_sys
);
}
...
...
@@ -969,5 +970,7 @@ static int process_options( demux_t *p_demux )
else
// YUV422 default
p_sys
->
video_mode
=
DC1394_VIDEO_MODE_640x480_YUV422
;
}
free
(
psz_dup
);
return
VLC_SUCCESS
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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