diff options
author | Michal Krol <[email protected]> | 2009-09-14 13:08:07 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-14 13:08:07 +0200 |
commit | 169aead1b55446c7bfe669b6a822d56e8af15f7f (patch) | |
tree | 849747af86c7e1cf7271113cc2552c9f7ccfb8af /src/glsl/apps/process.c | |
parent | a67f32289a6e22daa2665310f4a8f26979f7ed60 (diff) |
glsl/apps: Adapt to pp interface change.
Diffstat (limited to 'src/glsl/apps/process.c')
-rw-r--r-- | src/glsl/apps/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index 71211ccb727..a11f9741f5a 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -88,7 +88,10 @@ main(int argc, free(inbuf); - sl_pp_context_init(&context); + if (sl_pp_context_init(&context)) { + free(outbuf); + return 1; + } if (sl_pp_tokenise(&context, outbuf, &tokens)) { sl_pp_context_destroy(&context); |