117 void 118 str_free(struct mystr* p_str) 119 { 120 if (p_str->p_buf != 0) 121 { 122 vsf_sysutil_free(p_str->p_buf); 123 } 124 p_str->p_buf = 0; 125 p_str->len = 0; 126 p_str->alloc_bytes = 0; 127 }
下から選んでください: