diff options
Diffstat (limited to 'backends/pulse/pulse-device.c')
-rw-r--r-- | backends/pulse/pulse-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/pulse/pulse-device.c b/backends/pulse/pulse-device.c index d53c86a..9b75ca4 100644 --- a/backends/pulse/pulse-device.c +++ b/backends/pulse/pulse-device.c @@ -330,6 +330,7 @@ PulsePort * pulse_device_get_port (PulseDevice *device, const gchar *name) { g_return_val_if_fail (PULSE_IS_DEVICE (device), NULL); + g_return_val_if_fail (name != NULL, NULL); return g_hash_table_lookup (device->priv->ports, name); } |