summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-11-01 18:51:05 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-11-01 18:51:34 -0500
commit1b95913b6043e51005e728e4175b859aae262f49 (patch)
treed46c507269ab9c841403c7dee2d901e3a11a6816 /plugins
parent33a3ddfbb148011a884ad8578542767967504e10 (diff)
downloadofono-1b95913b6043e51005e728e4175b859aae262f49.tar.bz2
hfp_hf: Fix minor style issue from previous commit
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index 7a3567e7..c4c90ff7 100644
--- a/plugins/hfp_hf.c
+++ b/plugins/hfp_hf.c
@@ -246,9 +246,8 @@ static int hfp_hf_probe(const char *device, const char *dev_addr,
return 0;
free:
- if (data != NULL) {
+ if (data != NULL)
g_free(data->handsfree_path);
- }
g_free(data);
ofono_modem_remove(modem);