diff options
author | Bruno Haible <bruno@clisp.org> | 2003-01-23 12:03:33 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-01-23 12:03:33 +0000 |
commit | a9916548fa1098050c0d576c3f8356b439ac0aaf (patch) | |
tree | bae913c4763ad14699a99393e66bc156a2306c63 /src/keyword.h | |
parent | 83440a2aed0e8b914e5278666d7f2cfec13c50ab (diff) | |
download | gperf-a9916548fa1098050c0d576c3f8356b439ac0aaf.tar.gz |
Fix memory leaks.
Diffstat (limited to 'src/keyword.h')
-rw-r--r-- | src/keyword.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/keyword.h b/src/keyword.h index cc754ba..0d1eec9 100644 --- a/src/keyword.h +++ b/src/keyword.h @@ -86,11 +86,14 @@ public: virtual ~Keyword_Factory (); /* Creates a new Keyword. */ - virtual /*abstract */ Keyword * + virtual /*abstract*/ Keyword * create_keyword (const char *allchars, int allchars_length, const char *rest) = 0; }; +/* A statically allocated empty string. */ +extern char empty_string[1]; + #ifdef __OPTIMIZE__ #define INLINE inline |