61:c858850f3d3a | 62:c47e081b6c0f |
---|---|
55 int r = cfg_parse_basic_file((ConfigParser*)conf, in); | 55 int r = cfg_parse_basic_file((ConfigParser*)conf, in); |
56 if(r != 0) { | 56 if(r != 0) { |
57 // TODO: free | 57 // TODO: free |
58 return NULL; | 58 return NULL; |
59 } | 59 } |
60 | |
61 fclose(in); | |
60 | 62 |
61 return conf; | 63 return conf; |
62 } | 64 } |
63 | 65 |
64 void free_object_config(ObjectConfig *conf) { | 66 void free_object_config(ObjectConfig *conf) { |