projects
/
mtetherd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c2a38
)
Added missing free() for filter rule
author
Gregor Riepl
<onitake@gmail.com>
Tue, 20 Jul 2010 23:54:36 +0000
(
01:54
+0200)
committer
Gregor Riepl
<onitake@gmail.com>
Tue, 20 Jul 2010 23:54:36 +0000
(
01:54
+0200)
main.c
patch
|
blob
|
history
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);