1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 19:36:34 +01:00

Cleanup and Error fixes

Add several frees that were missing to prevent memory leaks
Replace strcpy with strdup where appropriate
Replace _stat with __stat64 for building on Windows
This commit is contained in:
Simon Levermann
2013-08-08 16:36:16 +02:00
parent c3c144ddd0
commit a9ec08b998
3 changed files with 15 additions and 24 deletions

View File

@@ -30,4 +30,4 @@
char *get_user_config_dir(void);
int create_user_config_dir(char *path);
int create_user_config_dir(char *path);