bound free in c; ToDo: check it and add test