mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
Fix mem leak.
This commit is contained in:
parent
e4554892b0
commit
b0c6dc5ab2
2 changed files with 3 additions and 2 deletions
2
gmqcc.h
2
gmqcc.h
|
@ -1118,7 +1118,7 @@ enum {
|
|||
# define GMQCC_TYPE_FLAGS
|
||||
# define GMQCC_DEFINE_FLAG(X) X,
|
||||
# include "opts.def"
|
||||
COUNT_FLAGS
|
||||
COUNT_FLAGS,
|
||||
};
|
||||
static const opts_flag_def opts_flag_list[] = {
|
||||
# define GMQCC_TYPE_FLAGS
|
||||
|
|
1
pak.c
1
pak.c
|
@ -195,6 +195,7 @@ static pak_file_t *pak_open_write(const char *file) {
|
|||
*/
|
||||
/* TODO backup directory clean */
|
||||
|
||||
mem_d(pak);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue