diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index 4e8b2f187..94680bb61 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -2340,7 +2340,7 @@ const struct media_codec **spa_bt_device_get_supported_media_codecs(struct spa_b if (j >= size) { const struct media_codec **p; size = size * 2; -#ifdef HAVE_REALLOCARRRAY +#ifdef HAVE_REALLOCARRAY p = reallocarray(supported_codecs, size, sizeof(const struct media_codec *)); #else p = realloc(supported_codecs, size * sizeof(const struct media_codec *));