diff --git a/libnotify/notify.c b/libnotify/notify.c index 1f53b39..d0c00a2 100644 --- a/libnotify/notify.c +++ b/libnotify/notify.c @@ -340,7 +340,7 @@ notify_get_server_info (char **ret_name, g_free (version); } - if (spec_version != NULL) { + if (ret_spec_version != NULL) { *ret_spec_version = spec_version; } else { g_free (spec_version);