Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=5fa59299d0f3bcc330cc71c73d425f4b83a06a81

commit 5fa59299d0f3bcc330cc71c73d425f4b83a06a81
Author: Elentir <elen...@frugalware.org>
Date:   Sun Feb 27 23:13:11 2011 +0100

configsource: move data_put(srcdev) at the right place

diff --git a/src/plugins/configsource-discs.c b/src/plugins/configsource-discs.c
index 4b5016b..bc70faa 100644
--- a/src/plugins/configsource-discs.c
+++ b/src/plugins/configsource-discs.c
@@ -143,10 +143,10 @@ int run_discs_detection(GList **config)
(char*)g_list_nth_data(drives, i),
SOURCEDIR);
fw_system(ptr);
-            free(ptr);
-                       data_put(config, "srcdev", 
(char*)g_list_nth_data(drives, i));
+                       free(ptr);

if(!is_netinstall(SOURCEDIR)) {
+                               data_put(config, "srcdev", 
(char*)g_list_nth_data(drives, i));
found = 1;
break;
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to