Commit 5e037957 authored by Victor Ananjevsky's avatar Victor Ananjevsky

Remoce some build warnings

parent 92a7978d
...@@ -756,8 +756,7 @@ get_data_as_string (GtkTreeIter *iter) ...@@ -756,8 +756,7 @@ get_data_as_string (GtkTreeIter *iter)
} }
str->str[str->len-1] = '\0'; str->str[str->len-1] = '\0';
res = str->str; res = g_string_free_and_steal (str);
g_string_free (str, FALSE);
return res; return res;
} }
......
Markdown is supported
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