diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2014-02-20 15:18:41 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2014-02-20 15:18:41 +0100 |
commit | bac37baabe92c3f7473b2a91ec76b82271d04206 (patch) | |
tree | c8bd9dc0085d64476a843b21a4de5c3ead7d65ed | |
parent | bf328a08e5f09ac0ddcd2e728b585301c45de1d3 (diff) | |
download | librcc-bac37baabe92c3f7473b2a91ec76b82271d04206.tar.gz librcc-bac37baabe92c3f7473b2a91ec76b82271d04206.tar.bz2 librcc-bac37baabe92c3f7473b2a91ec76b82271d04206.tar.xz librcc-bac37baabe92c3f7473b2a91ec76b82271d04206.zip |
fix typo in allocation checking
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | src/librcc.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -0.2.11.1 +0.2.13CVS diff --git a/src/librcc.c b/src/librcc.c index 28a1657..b11c2ee 100644 --- a/src/librcc.c +++ b/src/librcc.c @@ -188,7 +188,7 @@ rcc_context rccCreateContext(const char *locale_variable, unsigned int max_langu configs = (rcc_language_config)malloc((max_languages)*sizeof(struct rcc_language_config_t)); - if ((!ctx)||(!languages)||(!classes)||(!mutex)||(!from)||(!ilang)||(!iclass)||(!mutex)) { + if ((!ctx)||(!languages)||(!classes)||(!from)||(!ilang)||(!iclass)||(!mutex)||(!configs)) { if (mutex) rccMutexFree(mutex); if (from) free(from); if (configs) free(configs); |