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
1ccbac9e
Commit
1ccbac9e
authored
Mar 30, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAL service discovery : fix a memory leak
parent
9f26d456
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/services_discovery/hal.c
modules/services_discovery/hal.c
+4
-0
No files found.
modules/services_discovery/hal.c
View file @
1ccbac9e
...
...
@@ -125,6 +125,7 @@ static int Open( vlc_object_t *p_this )
{
msg_Err
(
p_sd
,
"unable to connect to DBUS: %s"
,
dbus_error
.
message
);
dbus_error_free
(
&
dbus_error
);
libhal_ctx_free
(
p_sys
->
p_ctx
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
@@ -149,6 +150,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_SUCCESS
;
error:
dbus_error_free
(
&
dbus_error
);
libhal_ctx_free
(
p_sys
->
p_ctx
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
@@ -177,6 +179,8 @@ static void Close( vlc_object_t *p_this )
}
p_sys
->
pp_devices
=
NULL
;
libhal_ctx_free
(
p_sys
->
p_ctx
);
free
(
p_sys
);
}
...
...
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