tool_cfgable.c: pending check done
authorYang Tse <yangsita@gmail.com>
Thu, 3 Nov 2011 22:21:01 +0000 (23:21 +0100)
committerYang Tse <yangsita@gmail.com>
Thu, 3 Nov 2011 22:21:01 +0000 (23:21 +0100)
src/tool_cfgable.c

index e74ea43..2c05c2e 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "memdebug.h" /* keep this as LAST include */
 
-/* TODO: review handling of unhandled fields marked below */
-
 void free_config_fields(struct Configurable *config)
 {
   struct getout *urlnode;
@@ -114,8 +112,7 @@ void free_config_fields(struct Configurable *config)
     curl_formfree(config->httppost);
     config->httppost = NULL;
   }
-
-  /* config->last_post not handled */
+  config->last_post = NULL;
 
   curl_slist_free_all(config->telnet_options);
   curl_slist_free_all(config->resolve);