summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2012-05-18 09:46:29 -0400
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2013-01-09 14:30:13 +0000
commit54b8979d67a603f4952585fde8f0e64d9377e8f4 (patch)
treef49690078e06529927064174546c918910cf9ceb /sys
parent6c31678d8b5cae7a33395461ef89929004ffae3a (diff)
downloadgstreamer-plugins-bad-54b8979d67a603f4952585fde8f0e64d9377e8f4.tar.gz
bluez: avdtp: Fix incorrect gchar buffer allocation
The code was allocating an array of gchar pointers, where an array of gchar is expected.
Diffstat (limited to 'sys')
-rw-r--r--sys/bluez/gstavdtpsink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/bluez/gstavdtpsink.c b/sys/bluez/gstavdtpsink.c
index 529f96c1d..333c6650f 100644
--- a/sys/bluez/gstavdtpsink.c
+++ b/sys/bluez/gstavdtpsink.c
@@ -1137,7 +1137,7 @@ gst_avdtp_sink_update_caps (GstAvdtpSink * self)
static gboolean
gst_avdtp_sink_get_capabilities (GstAvdtpSink * self)
{
- gchar *buf[BT_SUGGESTED_BUFFER_SIZE];
+ gchar buf[BT_SUGGESTED_BUFFER_SIZE];
struct bt_get_capabilities_req *req = (void *) buf;
struct bt_get_capabilities_rsp *rsp = (void *) buf;
int err;