[longomatch] Don't create a new string to add to the list
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Don't create a new string to add to the list
- Date: Mon, 31 May 2010 21:06:15 +0000 (UTC)
commit 57b64c7943417df804b0b934c766f675409b61ea
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon May 31 23:04:05 2010 +0200
Don't create a new string to add to the list
libcesarplayer/src/gst-camera-capturer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 0795203..bc92a12 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -1331,7 +1331,7 @@ gst_camera_capturer_enum_devices (gchar * device_name)
goto finish;
for (i = 0; i < va->n_values; ++i) {
GValue *v = g_value_array_get_nth (va, i);
- list = g_list_append (list, g_string_new (g_value_get_string (v)));
+ list = g_list_append (list, g_value_get_string (v));
}
g_value_array_free (va);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]