mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
zeroconf-publish: fix uninitialized variable
get_icon_name() returns the icon_name variable, and without this change the function might exit before icon_name is initialized.
This commit is contained in:
parent
963b3ea695
commit
de2f560137
1 changed files with 1 additions and 1 deletions
|
|
@ -670,7 +670,7 @@ static int avahi_process_msg(pa_msgobject *o, int code, void *data, int64_t offs
|
|||
static char *get_icon_name(pa_module*m) {
|
||||
const char *interface = HOSTNAME_DBUS_INTERFACE;
|
||||
const char *property = HOSTNAME_DBUS_ICON_PROPERTY;
|
||||
char *icon_name;
|
||||
char *icon_name = NULL;
|
||||
pa_dbus_connection *bus;
|
||||
DBusError error;
|
||||
DBusMessageIter args;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue