{"push_id":1066533148,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"73e923bb9a2baec76394b39c626d52e16ad9d0e8","before":"5644bfc739301455baec0448abb2b9b14be3d6b4","commits":[{"sha":"d3995e5771099ad76656ade95e9d8e172599953b","author":{"email":"13dab49cf8e22d22e9e66d41511be8c9100cbfe9@huawei.com","name":"Jun Piao"},"message":"o2cb_ctl: fix memory leak in jconfig.c\n\nThere are 4 memory leak problems in jconfig.c.\n\nIn j_config_parse_any(), the 'scanner' should be destroyed after use.\n\nIn j_config_parse_stanza_attr(), the second parameter of\ng_string_free() should be TRUE to free the character data.\n\nIn j_config_parse_file() and j_config_parse_memory(), the memory\nallocated for 'cfc->cfs' and its members should be freed after use.\n\nIn j_config_free(), the memory allocated for 'cf->stanza_names'\nshould be freed after use.\n\nSigned-off-by: Jun Piao <piaojun@huawei.com>\nSigned-off-by: Joseph Qi <joseph.qi@huawei.com>","distinct":true,"url":"https://api.github.com/repos/josephhz/ocfs2-tools/commits/d3995e5771099ad76656ade95e9d8e172599953b"},{"sha":"bd623471c2c0fa2b94f2decc133c978d1f772002","author":{"email":"13dab49cf8e22d22e9e66d41511be8c9100cbfe9@huawei.com","name":"Jun Piao"},"message":"o2cb_ctl: fix memory leak in o2cb_config.c\n\nThere are 2 memory leak problems in o2cb_config.c.\n\nIn o2cb_cluster_fill_node(), the memory allocated for 'name' should\nbe freed before the function return.\n\nIn o2cb_config_fill_cluster(), the 'count' should be freed after use.\n\nSigned-off-by: Jun Piao <piaojun@huawei.com>\nSigned-off-by: Joseph Qi <joseph.qi@huawei.com>\nReviewed-by: Gang He <ghe@suse.com>","distinct":true,"url":"https://api.github.com/repos/josephhz/ocfs2-tools/commits/bd623471c2c0fa2b94f2decc133c978d1f772002"},{"sha":"73e923bb9a2baec76394b39c626d52e16ad9d0e8","author":{"email":"13dab49cf8e22d22e9e66d41511be8c9100cbfe9@huawei.com","name":"Jun Piao"},"message":"o2cb_ctl: fix memory leak in o2cb_ctl.c\n\nThere are 6 memory leak problems in o2cb_ctl.c.\n\nIn find_objects_for_type(), the memory allocated in\no2cb_cluster_get_name(cluster) and o2cb_node_get_name(node) should be\nfreed after use.\n\nIn run_info_clusters(), the memory allocated in\no2cb_cluster_get_name(cluster) should be freed after use, so 'name' is a\nsubstitution for o2cb_cluster_get_name(cluster) to avoid memory leak.\n\nIn run_info_nodes(), the memory allocated in\no2cb_node_get_name(node) and o2cb_cluster_get_name(cluster) should be\nfreed after use.\n\nIn online_cluster(), the memory allocated for 'name' should be freed\nbefore the function return.\n\nIn run_create_nodes(), the memory allocated for 'number' should be freed\nbefore the function return.\n\nIn main(), the memory allocated for 'ctxt.oc_objects' should be freed\nbefore the function return.\n\nSigned-off-by: Jun Piao <piaojun@huawei.com>\nSigned-off-by: Joseph Qi <joseph.qi@huawei.com>","distinct":true,"url":"https://api.github.com/repos/josephhz/ocfs2-tools/commits/73e923bb9a2baec76394b39c626d52e16ad9d0e8"}]}