Fixed memory leak

This commit is contained in:
cxziaho 2017-09-19 22:41:53 +12:00
parent e3f52ccac7
commit 45e9f755aa

2
qr.c
View File

@ -144,7 +144,7 @@ int qr_scan_thread(SceSize args, void *argp) {
if (headerLen <= 0) {
char *next;
fileName = strdup(data);
fileName = data;
while ((next = strpbrk(fileName + 1, "\\/"))) fileName = next;
if (fileName != last_qr) fileName++;