MCPcopy Create free account
hub / github.com/F-Stack/f-stack / login_close

Function login_close

tools/libutil/login_cap.c:152–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 */
151
152void
153login_close(login_cap_t * lc)
154{
155 if (lc) {
156 free(lc->lc_style);
157 free(lc->lc_class);
158 free(lc->lc_cap);
159 free(lc);
160 if (--lc_object_count == 0) {
161 free(internal_string);
162 free(internal_array);
163 internal_array = NULL;
164 internal_arraysz = 0;
165 internal_string = NULL;
166 internal_stringsz = 0;
167 cgetclose();
168 }
169 }
170}
171
172
173/*

Callers 2

setclasscontextFunction · 0.85
setusercontextFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected