Преглед на файлове

Free plugin's alias and conf

Serj Kalichev преди 11 години
родител
ревизия
9f2e3f71f5
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      clish/plugin/plugin.c

+ 2 - 0
clish/plugin/plugin.c

@@ -161,6 +161,8 @@ void clish_plugin_free(clish_plugin_t *this, void *userdata)
 
 	lub_string_free(this->file);
 	lub_string_free(this->name);
+	lub_string_free(this->alias);
+	lub_string_free(this->conf);
 
 	/* Free symbol list */
 	while ((iter = lub_list__get_head(this->syms))) {