summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2013-04-05 11:37:46 +0000
committerTaco Hoekwater <taco@elvenkind.com>2013-04-05 11:37:46 +0000
commite184de65a9925e2731bce5e9c47cfea5291240e5 (patch)
tree4fad177256aaf464440cf06919ed63a2c3403782 /Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc
parentd4afa66572260d451441b371914b340a171b6b2c (diff)
luatex beta 0.76.0 (released version)
git-svn-id: svn://tug.org/texlive/trunk@29674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc b/Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc
index 2b36d106234..e22cd7b5f25 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc
+++ b/Build/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc
@@ -52,7 +52,7 @@ extern "C" {
# include <lua/luatex-api.h>
static const char _svn_version[] =
- "$Id: lpdfscannerlib.cc 4524 2012-12-20 15:38:02Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/trunk/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc $";
+ "$Id: lpdfscannerlib.cc 4612 2013-03-25 09:15:18Z taco $ $URL: https://foundry.supelec.fr/svn/luatex/tags/beta-0.76.0/source/texk/web2c/luatexdir/lua/lpdfscannerlib.cc $";
#define SCANNER "pdfscanner"
@@ -468,10 +468,12 @@ static Token *_parseOperator (scannerdata *self, int c)
if (strcmp(found,"false") == 0) {
Token *token = new_operand(pdf_boolean);
token->value = 0;
+ free(found);
return token;
} else if (strcmp(found,"true") == 0) {
Token *token = new_operand(pdf_boolean);
token->value = 1.0;
+ free(found);
return token;
} else {
Token *token = new_operand(pdf_operator);