libs resource release