memory leak
the first int remains allocated and you will never be able of deleting it as you lost its address
Try it for yourself and see.
...which is about the same thing.
Modern OSs recognize this kind of behavior as foolish and will terminate your program before letting the OS crash.
However, the end result is still that your program will crash.