Author: adrian.chadd
Date: Tue Apr 28 06:58:40 2009
New Revision: 14007

Modified:
    branches/LUSCA_HEAD/src/snmp_core.c

Log:
Iniitialise the child pointer to NULL.

This got missed by the merge.


Modified: branches/LUSCA_HEAD/src/snmp_core.c
==============================================================================
--- branches/LUSCA_HEAD/src/snmp_core.c (original)
+++ branches/LUSCA_HEAD/src/snmp_core.c Tue Apr 28 06:58:40 2009
@@ -1039,6 +1039,7 @@
      entry->parsefunction = parsefunction;
      entry->instancefunction = instancefunction;
      entry->children = children;
+    entry->leaves = NULL;

      if (children > 0) {
        entry->leaves = xmalloc(sizeof(mib_tree_entry *) * children);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to