| 177 | } |
| 178 | |
| 179 | static void gettextCleanUp(void) |
| 180 | { |
| 181 | while (baseMSG) |
| 182 | { |
| 183 | MSG *nextMsg = baseMSG->next; |
| 184 | free(baseMSG->msgstr); |
| 185 | free(baseMSG); |
| 186 | baseMSG = nextMsg; |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | static char * memfgets(char * dst, int maxlen, char * src) |
| 191 | { |