SHA256
1
0
forked from pool/bluez
bluez/0001-Remove-double-g_option_context_free-call.patch

26 lines
615 B
Diff

From 86b16d8a63d8d6191533418dd1c38ce35c3fbf0a Mon Sep 17 00:00:00 2001
From: Marcel Holtmann <marcel@holtmann.org>
Date: Mon, 12 Jul 2010 23:59:34 -0300
Subject: [PATCH] Remove double g_option_context_free() call
---
src/main.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c
index 94a6f0e..6113217 100644
--- a/src/main.c
+++ b/src/main.c
@@ -410,8 +410,6 @@ int main(int argc, char *argv[])
}
}
- g_option_context_free(context);
-
if (option_detach == TRUE && option_udev == FALSE) {
if (daemon(0, 0)) {
perror("Can't start daemon");
--
1.7.1