commit | 1180011b8186f5265cf04b39b3354469ee8d03e4 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@nokia.com> | Sun Dec 12 23:02:32 2010 +0200 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Sun Dec 12 23:06:16 2010 +0200 |
tree | d24e4a03768a7a6c456d3bb776121955ca683683 | |
parent | 983bc0f8ccd66ec217421288a0b5fb2c38b604bd [diff] |
Don't strdup the chld string for HFP The chld string is of type const char * and is referring to a fixed string in the telephony driver. I.e. there's no need to strdup it.
diff --git a/audio/headset.c b/audio/headset.c index 97ae4fd..aaf7039 100644 --- a/audio/headset.c +++ b/audio/headset.c
@@ -2793,7 +2793,7 @@ ag.features = features; ag.indicators = indicators; ag.rh = rh; - ag.chld = g_strdup(chld); + ag.chld = chld; DBG("Telephony plugin initialized");