Code

more unreffing temporary styles properly
[inkscape.git] / src / selection-chemistry.cpp
index fc0bb5a107586378d78dc232d6762bf63044bf75..ed8d6379e4aaae48dd74060d3f0a0cf6b029abd3 100644 (file)
@@ -1095,7 +1095,7 @@ void sp_selection_copy()
                 style_clipboard = css;
             }
         }
-        g_free (query);
+        sp_style_unref(query);
     }
 
     size_clipboard = selection->bounds();