diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-11 05:15:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-11 05:15:13 +0400 |
commit | 43c83e24588dc1251353b1d13ca4cf112f8b3117 (patch) | |
tree | c792fee6b80695669cc855e8a8f7e290d4965d5b /intern/ghost/test/multitest | |
parent | 44ec0b0aabef4c8d054680281747ea33320f0961 (diff) |
fix double free in ghost c++ gears test program.
Diffstat (limited to 'intern/ghost/test/multitest')
-rw-r--r-- | intern/ghost/test/multitest/MultiTest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/ghost/test/multitest/MultiTest.c b/intern/ghost/test/multitest/MultiTest.c index 2d0afcf671c..e9d5880651e 100644 --- a/intern/ghost/test/multitest/MultiTest.c +++ b/intern/ghost/test/multitest/MultiTest.c @@ -931,11 +931,13 @@ void multitestapp_free(MultiTestApp *app) int main(int argc, char **argv) { + MultiTestApp *app; + #ifndef USE_BMF BLF_init(11, 72); #endif - MultiTestApp *app = multitestapp_new(); + app = multitestapp_new(); multitestapp_run(app); multitestapp_free(app); |