functions calling function pointers are not leaves