Index: uspace/srv/net/nil/eth/eth.c
===================================================================
--- uspace/srv/net/nil/eth/eth.c	(revision 03649d85cb0620056e100a69fac453d7ce6081f4)
+++ uspace/srv/net/nil/eth/eth.c	(revision e9caf4779c4818e0894f8ea2cb6815ec2e723d8f)
@@ -211,8 +211,12 @@
 		goto out;
 	}
-	if (ERROR_OCCURRED(eth_devices_initialize(&eth_globals.devices)))
+	if (ERROR_OCCURRED(eth_devices_initialize(&eth_globals.devices))) {
+		free(eth_globals.broadcast_addr);
 		goto out;
-	if (ERROR_OCCURRED(eth_protos_initialize(&eth_globals.protos)))
+	}
+	if (ERROR_OCCURRED(eth_protos_initialize(&eth_globals.protos))) {
+		free(eth_globals.broadcast_addr);
 		eth_devices_destroy(&eth_globals.devices);
+	}
 out:
 	fibril_rwlock_write_unlock(&eth_globals.protos_lock);
