(svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free
This commit is contained in:
@@ -23,13 +23,13 @@ static const int MAX_CREATEINSTANCE_OPS = 100000;
|
||||
|
||||
ScriptFileInfo::~ScriptFileInfo()
|
||||
{
|
||||
free((void *)this->author);
|
||||
free((void *)this->name);
|
||||
free((void *)this->short_name);
|
||||
free((void *)this->description);
|
||||
free((void *)this->date);
|
||||
free((void *)this->instance_name);
|
||||
free((void *)this->url);
|
||||
free(this->author);
|
||||
free(this->name);
|
||||
free(this->short_name);
|
||||
free(this->description);
|
||||
free(this->date);
|
||||
free(this->instance_name);
|
||||
free(this->url);
|
||||
free(this->main_script);
|
||||
free(this->tar_file);
|
||||
free(this->SQ_instance);
|
||||
|
Reference in New Issue
Block a user