Skip to content
Commit 807658e9 authored by Jonas Ådahl's avatar Jonas Ådahl
Browse files

wayland: Don't free non-transferred string when cleaning up

When cleaning up the display name string management, the display name
string retrieved from libwayland-server was also passed to free() on
clean up. This is invalid as the display name string ownership is not
transferred to us. Fix this by strdup:ing the string before saving it.

https://bugzilla.gnome.org/show_bug.cgi?id=730551
parent 8499a29d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment