#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
+#include <inttypes.h>
#include "box_manager.h"
-#include "opj_inttypes.h"
#ifdef SERVER
#include "fcgi_stdio.h"
} else {
fprintf(FCGI_stderr, "Error: error in gene_boxbyType( %d, %" PRId64 ", %" PRId64
", %s)\n", fd, offset, length, TBox);
+ free(data);
return NULL;
}
}