Adding break to avoid memleak
Signed-off-by: igio90 <giovanni.rocca.90@gmail.com>