summaryrefslogtreecommitdiffstats
path: root/src/librcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librcc.c')
-rw-r--r--src/librcc.c2
1 files changed, 1 insertions, 1 deletions
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);