diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-05-31 11:41:42 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-31 11:41:42 -0500 |
commit | d99ca1779a5d6a782573a76036aeaf3d62975fed (patch) | |
tree | a82337cfa4132b2fcf050bc00bbbc6a3b0e69ccf | |
parent | d80698f25d14078fa70545e12fa94ad81e7e5dd8 (diff) | |
download | ofono-d99ca1779a5d6a782573a76036aeaf3d62975fed.tar.bz2 |
bluetooth: Initialize GError properly
-rw-r--r-- | plugins/bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 2a507c58..457e0c0c 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -878,7 +878,7 @@ struct server *bluetooth_register_server(guint8 channel, const char *sdp_record, ConnectFunc cb, gpointer user_data) { struct server *server; - GError *err; + GError *err = NULL; server = g_try_new0(struct server, 1); if (!server) |