Skip to content

Commit

Permalink
Do not free output of static API
Browse files Browse the repository at this point in the history
  • Loading branch information
czchen committed May 13, 2016
1 parent 13e12b6 commit 437ef34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/scim_chewing_imengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,6 @@ bool ChewingIMEngineInstance::commit(ChewingContext *ctx)
const char *zuin_str = chewing_bopomofo_String_static(ctx);
if (zuin_str) {
preedit_string += utf8_mbstowcs(zuin_str);
chewing_free((char *) zuin_str);
}

chewing_interval_Enumerate(ctx);
Expand Down

0 comments on commit 437ef34

Please sign in to comment.