[PKTGEN]: fix device name handling
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 5 Mar 2007 00:11:51 +0000 (16:11 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:31 +0000 (22:23 -0700)
Since devices can change name and other wierdness, don't hold onto
a copy of device name, instead use pointer to output device.

Fix a couple of leaks in error handling path as well.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found