Do not use g_quark_from_static_string in unloadable code
[babeltrace.git] / formats / lttng-live / lttng-live-plugin.c
index a1fbb9e826efc903009e777a70dc0fd7522004c4..35f0f48a428854412f19fdd68a34bf5c44bec25a 100644 (file)
@@ -332,7 +332,7 @@ void __attribute__((constructor)) lttng_live_init(void)
 {
        int ret;
 
-       lttng_live_format.name = g_quark_from_static_string("lttng-live");
+       lttng_live_format.name = g_quark_from_string("lttng-live");
        ret = bt_register_format(&lttng_live_format);
        assert(!ret);
 }
This page took 0.023013 seconds and 4 git commands to generate.