summaryrefslogtreecommitdiffstats
path: root/src/pulse
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/proplist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/proplist.c b/src/pulse/proplist.c
index 4f0d6a6d..8b5b6538 100644
--- a/src/pulse/proplist.c
+++ b/src/pulse/proplist.c
@@ -690,6 +690,9 @@ int pa_proplist_equal(pa_proplist *a, pa_proplist *b) {
pa_assert(a);
pa_assert(b);
+ if (a == b)
+ return 1;
+
if (pa_proplist_size(a) != pa_proplist_size(b))
return 0;