Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
[m17n] fix some memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Jun 23, 2014
1 parent f9362a9 commit 52d3d74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions im/fcitx-m17n.c
Expand Up @@ -592,6 +592,7 @@ void *FcitxM17NCreate(FcitxInstance* inst)
} else {
iconName = uniqueName;
}
m17n_object_unref(info);

FcitxIMIFace iface;
memset(&iface, 0, sizeof(FcitxIMIFace));
Expand Down Expand Up @@ -619,6 +620,7 @@ void *FcitxM17NCreate(FcitxInstance* inst)
free(uniqueName);
free(fxName);
}
m17n_object_unref(mimlist);

fcitx_utils_free(curlang);

Expand Down

0 comments on commit 52d3d74

Please sign in to comment.