There may be reasons to want to mix manual and automatic memory management. If you want to do that, there are language that support it. Like D.