dangling pointer, problemi