[Groonga-commit] pgroonga/pgroonga at 651b8fe [master] Fix a memory leak

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Apr 24 00:43:51 JST 2016


Kouhei Sutou	2016-04-24 00:43:51 +0900 (Sun, 24 Apr 2016)

  New Revision: 651b8fe31cdf4ffc5eda380461f84cf38924676e
  https://github.com/pgroonga/pgroonga/commit/651b8fe31cdf4ffc5eda380461f84cf38924676e

  Message:
    Fix a memory leak

  Modified files:
    src/pgrn_match_positions_byte.c

  Modified: src/pgrn_match_positions_byte.c (+1 -0)
===================================================================
--- src/pgrn_match_positions_byte.c    2016-04-24 00:02:23 +0900 (0808493)
+++ src/pgrn_match_positions_byte.c    2016-04-24 00:43:51 +0900 (446619e)
@@ -104,6 +104,7 @@ PGrnMatchPositionsByte(text *target)
 									   sizeof(int32_t),
 									   true,
 									   'i');
+		pfree(elements);
 	}
 
 	GRN_OBJ_FIN(ctx, &buffer);
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index