Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dbp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
packages
dbp
Commits
bfb17981
Commit
bfb17981
authored
Oct 31, 2015
by
Steven Arnow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More minor memory leaks in dbpd plugged
parent
2e608654
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
dbpd/comm.c
dbpd/comm.c
+5
-1
No files found.
dbpd/comm.c
View file @
bfb17981
...
...
@@ -76,6 +76,7 @@ static void vtab_method_call(GDBusConnection *conn, const gchar *sender, const g
VALIDATE_NOT_NULL
(
arg1
);
ret
=
package_path_from_id
(
p
,
arg1
);
g_dbus_method_invocation_return_value
(
inv
,
g_variant_new
(
"(is)"
,
ret
?
1
:
DBP_ERROR_NOTFOUND
,
ret
?
ret
:
"!"
));
free
(
ret
);
}
else
if
(
!
g_strcmp0
(
method_name
,
"Ping"
))
{
g_dbus_method_invocation_return_value
(
inv
,
g_variant_new
(
"(i)"
,
1
));
}
else
if
(
!
g_strcmp0
(
method_name
,
"PackageList"
))
{
...
...
@@ -103,7 +104,10 @@ static void vtab_method_call(GDBusConnection *conn, const gchar *sender, const g
fprintf
(
dbp_error_log
,
"Bad method call %s
\n
"
,
(
const
char
*
)
method_name
);
return
;
}
if
(
arg1
)
g_free
(
arg1
);
if
(
arg2
)
g_free
(
arg2
);
}
void
comm_dbus_announce
(
const
char
*
name
,
const
char
*
signame
)
{
...
...
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