qulogic/libgnt

Remove extra g_strdup.
release-2.x.y
2019-04-20, Elliott Sales de Andrade
9cc02e895ebc
Remove extra g_strdup.
--- a/gnttextview.c Fri Apr 19 18:51:55 2019 +0000
+++ b/gnttextview.c Sat Apr 20 02:17:13 2019 -0400
@@ -622,7 +622,7 @@
{
g_return_val_if_fail(GNT_IS_TEXT_VIEW(view), NULL);
- return g_strdup(view->string->str);
+ return view->string->str;
}
void gnt_text_view_scroll(GntTextView *view, int scroll)