src/group_cmd.cpp
changeset 7909 8df54a2839a1
parent 7883 7777bca58ae0
child 7988 6075538f6111
equal deleted inserted replaced
7908:403a9694c42d 7909:8df54a2839a1
    48 	this->string_id = str;
    48 	this->string_id = str;
    49 }
    49 }
    50 
    50 
    51 Group::~Group()
    51 Group::~Group()
    52 {
    52 {
    53 	this->QuickFree();
    53 	DeleteName(this->string_id);
    54 	this->string_id = STR_NULL;
    54 	this->string_id = STR_NULL;
    55 }
       
    56 
       
    57 void Group::QuickFree()
       
    58 {
       
    59 	DeleteName(this->string_id);
       
    60 }
    55 }
    61 
    56 
    62 bool Group::IsValid() const
    57 bool Group::IsValid() const
    63 {
    58 {
    64 	return this->string_id != STR_NULL;
    59 	return this->string_id != STR_NULL;