Now preventing memory leaks in brew