java utils: avoid memory leak
g_strndup allocated the memory for the second time without releasing it I understand my way of fixing the issue is not perfect so I'd love to hear your suggestions on it
g_strndup allocated the memory for the second time without releasing it I understand my way of fixing the issue is not perfect so I'd love to hear your suggestions on it