gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1754 - GNUnet/src/conf


From: grothoff
Subject: [GNUnet-SVN] r1754 - GNUnet/src/conf
Date: Fri, 19 Aug 2005 01:03:40 -0700 (PDT)

Author: grothoff
Date: 2005-08-19 01:03:38 -0700 (Fri, 19 Aug 2005)
New Revision: 1754

Modified:
   GNUnet/src/conf/confdata.c
   GNUnet/src/conf/expr.c
   GNUnet/src/conf/gconf.c
Log:
working on  878


Modified: GNUnet/src/conf/confdata.c
===================================================================
--- GNUnet/src/conf/confdata.c  2005-08-19 07:12:44 UTC (rev 1753)
+++ GNUnet/src/conf/confdata.c  2005-08-19 08:03:38 UTC (rev 1754)
@@ -132,8 +132,10 @@
        if (sym->visible == no)
          sym->flags |= SYMBOL_NEW;
       }
-      if (!sym_is_choice(sym))
+      if (!sym_is_choice(sym)) {
+       FREE(val);
        continue;
+      }
       prop = sym_get_choice_prop(sym);
       for (e = prop->expr; e; e = e->left.expr)
        if (e->right.sym->visible != no)

Modified: GNUnet/src/conf/expr.c
===================================================================
--- GNUnet/src/conf/expr.c      2005-08-19 07:12:44 UTC (rev 1753)
+++ GNUnet/src/conf/expr.c      2005-08-19 08:03:38 UTC (rev 1754)
@@ -116,7 +116,7 @@
                break;
        case E_NOT:
                expr_free(e->left.expr);
-               return;
+               break;
        case E_EQUAL:
        case E_UNEQUAL:
                break;
@@ -877,7 +877,7 @@
 
        if (!e) {
                e = expr_alloc_symbol(sym);
-               if (type == E_UNEQUAL)
+               if (type == E_UNEQUAL) 
                        e = expr_alloc_one(E_NOT, e);
                return e;
        }

Modified: GNUnet/src/conf/gconf.c
===================================================================
--- GNUnet/src/conf/gconf.c     2005-08-19 07:12:44 UTC (rev 1753)
+++ GNUnet/src/conf/gconf.c     2005-08-19 08:03:38 UTC (rev 1754)
@@ -596,6 +596,7 @@
     name = g_strdup("");
 
   set_help(prompt, name, help);
+  free(name);
 }
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]