buffer = g_new(char, strlen(meta_data1)+strlen(meta_data2)+40);
const char * tmp = NULL; Stonith * stonith_obj = NULL;
get_resource_meta(const char* rsc_type, const char* provider){	char * buffer;	buffer = g_new(char, strlen(meta_data1)+strlen(meta_data2)+40);	sprintf(buffer, "%s%s%s", meta_data1, rsc_type, meta_data2);	return buffer;}