diff --git a/lib/mu-store-priv.hh b/lib/mu-store-priv.hh index 96088f8b..6271b7e7 100644 --- a/lib/mu-store-priv.hh +++ b/lib/mu-store-priv.hh @@ -188,7 +188,8 @@ public: } void set_version (const char *version) { - g_clear_pointer (&_version, g_free); + g_free (_version); + _version = NULL; mu_store_set_metadata (this, MU_STORE_VERSION_KEY, version, NULL); }