summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-05-27 10:06:09 +0200
committerDavid Sommerseth <davids@redhat.com>2009-05-27 10:06:09 +0200
commit9c5a1096acfbca059542c905b45860f17c08a619 (patch)
tree28bfd3f5afdec8eda1cfcb82d3cb5c874c8d5f26
parent81f781c18d59fa5ec822136f9469fd5b6881ca2a (diff)
downloadpython-dmidecode-9c5a1096acfbca059542c905b45860f17c08a619.tar.gz
python-dmidecode-9c5a1096acfbca059542c905b45860f17c08a619.tar.xz
python-dmidecode-9c5a1096acfbca059542c905b45860f17c08a619.zip
Removed unneeded section (already commented out)
-rw-r--r--src/dmidecodemodule.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dmidecodemodule.c b/src/dmidecodemodule.c
index 1b18f47..6ed7fc5 100644
--- a/src/dmidecodemodule.c
+++ b/src/dmidecodemodule.c
@@ -256,11 +256,7 @@ int dmidecode_get_xml(xmlNode* dmixml_n)
free(opt.type);
if(ret == 0) {
free(buf);
- } /* else { TODO: Review this and if correctly commented out, then just delete it...
- xmlFreeNode(dmixml_n);
- dmixml_n = NULL;
- }*/
-
+ }
//muntrace();
return ret;
}