summaryrefslogtreecommitdiff
path: root/ouija.c
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2020-11-22 14:41:29 +0000
committerrafa_99 <rafa99@protonmail.com>2020-11-22 14:41:29 +0000
commit2e4fb93e33b92e5546c6d17a53743ac3cfb7e86b (patch)
treeda66091e2ac5ba43a453c6bc2c1e1d36ebfd859a /ouija.c
parent7b644262f9ef0b5e5d5f5463b9cf96b78b67bfed (diff)
Fixed Some Memory Leaks
Diffstat (limited to 'ouija.c')
-rw-r--r--ouija.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ouija.c b/ouija.c
index 96221db..44e6cc9 100644
--- a/ouija.c
+++ b/ouija.c
@@ -16,7 +16,7 @@ int main(int argc, char **argv)
}
break;
case 2:
- if (checkIfFileExists(argv[1]) == 1)
+ if (checkIfFileExists(argv[1]) == 0)
{
dictionary = fopen(argv[1], "r");
}