Browse Source

REVIEWED: Possible memory leak

raysan5 4 năm trước cách đây
mục cha
commit
8809ae66c6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      parser/raylib_parser.c

+ 1 - 1
parser/raylib_parser.c

@@ -482,7 +482,7 @@ int main(int argc, char* argv[])
         }
     }
 
-    //for (int i = 0; i < linesCount; i++) free(lines[i]);
+    for (int i = 0; i < linesCount; i++) free(lines[i]);
     free(lines);
     free(funcLines);