Fix several bugs
This commit is contained in:
parent
8b001e8876
commit
ef900e7358
9 changed files with 24 additions and 15 deletions
|
|
@ -95,7 +95,7 @@ Sj4Context* alloccontext(const char* dic) {
|
|||
|
||||
dict = opendict(ctx, (char*)dic, "");
|
||||
|
||||
if(dict == NULL){
|
||||
if(dict == NULL) {
|
||||
free_context(ctx);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue