Skip to content

Commit

Permalink
Fixed a small memory leak, added a batch file for cloc
Browse files Browse the repository at this point in the history
  • Loading branch information
britown88 committed Nov 15, 2014
1 parent 04a0c06 commit 61f1e86
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BTGame/BT.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <stddef.h> //for NULL xD
#include <string.h>

#define WINDOW_WIDTH 640
#define WINDOW_HEIGHT 480
#define WINDOW_WIDTH 1280
#define WINDOW_HEIGHT 720
#define FULLSCREEN 0

typedef struct {
Expand Down
1 change: 1 addition & 0 deletions SEGA/App.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void runApp(VirtualApp *subclass, IRenderer *renderer) {

iRendererDestroy(r->renderer);
glWindowDestroy(r->window);
frameDestroy(r->subclass->currentFrame);
virtualAppDestroy(r->subclass);
checkedFree(r);
return;
Expand Down
5 changes: 5 additions & 0 deletions cloc-ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
libpng
Debug
Release
cloc-ignore.txt
segalib/ImageTools.hpp
1 change: 1 addition & 0 deletions cloc.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cloc.exe --exclude-ext=bat,txt,opensdf,sdf,sln,suo,filters,vcxproj,lib,dll,pdb,obj,log,tlog --exclude-list-file=cloc-ignore.txt ./
Binary file added cloc.exe
Binary file not shown.

0 comments on commit 61f1e86

Please sign in to comment.