projects
/
mtetherd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added missing free() for filter rule
[mtetherd]
/
main.c
diff --git
a/main.c
b/main.c
index
3eb60e8
..
0bc9a11
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-281,6
+281,7
@@
int main(int argc, const char *argv[]) {
fprintf(stderr, "Can't construct filter rule for device %s: %s\n", devices[i], strerror(errno));
} else {
dbus_bus_add_match(conn, filter, NULL);
+ free(filter);
}
}
dbus_connection_flush(conn);