handlers.c: add comment on openFile() about freeing fileName
This commit is contained in:
parent
9df7ce934c
commit
036206d2be
@ -85,7 +85,7 @@ FILE *
|
||||
openFile(const char *folder, char *fileName, char *fileExt)
|
||||
{
|
||||
// [folder]/[fileName][fileExt]
|
||||
// caller's responsibility to sanitize names
|
||||
// caller's responsibility to sanitize names, but frees fileName
|
||||
|
||||
if (!folder) {
|
||||
logMsg(1, "NULL folder");
|
||||
|
@ -13,6 +13,7 @@ enum fields {
|
||||
FIELD_END
|
||||
};
|
||||
enum numFields {
|
||||
// currently unimplemented
|
||||
NUM_ENCLOSURE_SIZE,
|
||||
|
||||
NUM_END
|
||||
|
Loading…
Reference in New Issue
Block a user