diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-25 16:13:27 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-25 16:13:27 +0000 |
commit | 47b452efd4378325cb126622b2ff92b8c9e4e89e (patch) | |
tree | e39fb502a863d2fad6161f8767dd554068cb0936 /src/util/Expression.c | |
parent | 1b3d9dc1a45cb78a546e0876ca548ff19078b3cd (diff) |
Fixing memory allocation error.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2435 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/Expression.c')
-rw-r--r-- | src/util/Expression.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Expression.c b/src/util/Expression.c index 7a3632f9..6c9e2888 100644 --- a/src/util/Expression.c +++ b/src/util/Expression.c @@ -667,7 +667,7 @@ static pToken *newtoken(const char *tokenstart, const char *tokenend) const char *position; char *newpos; - this = (pToken *)malloc(sizeof(pToken *)); + this = (pToken *)malloc(sizeof(pToken)); if(this) { |