[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.7.1-20110619-238-g23d8520)



The branch, master has been updated
       via  23d8520c810c7f7747b1df45ce6315d1abd6f62f (commit)
      from  18f88729bec5c5ef120d123ce7dcee7537bc6c04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 utils/src/gsch2pcb.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit 23d8520c810c7f7747b1df45ce6315d1abd6f62f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gsch2pcb: Fix memory leak with multiple --m4-pcbdir arguments.

:100644 100644 7c89882... e543027... M	utils/src/gsch2pcb.c

=========
 Changes
=========

commit 23d8520c810c7f7747b1df45ce6315d1abd6f62f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gsch2pcb: Fix memory leak with multiple --m4-pcbdir arguments.

diff --git a/utils/src/gsch2pcb.c b/utils/src/gsch2pcb.c
index 7c89882..e543027 100644
--- a/utils/src/gsch2pcb.c
+++ b/utils/src/gsch2pcb.c
@@ -1192,9 +1192,10 @@ parse_config (gchar * config, gchar * arg)
     sch_basename = g_strdup (arg);
   else if (!strcmp (config, "schematics"))
     add_multiple_schematics (arg);
-  else if (!strcmp (config, "m4-pcbdir"))
+  else if (!strcmp (config, "m4-pcbdir")) {
+    g_free (m4_pcbdir);
     m4_pcbdir = g_strdup (arg);
-  else if (!strcmp (config, "m4-file"))
+  } else if (!strcmp (config, "m4-file"))
     add_m4_file (arg);
   else if (!strcmp (config, "gnetlist"))
     extra_gnetlist_list = g_list_append (extra_gnetlist_list, g_strdup (arg));




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs