Page MenuHomeFreeBSD

D10386.id36939.diff
No OneTemporary

D10386.id36939.diff

Index: head/sys/net/if_clone.c
===================================================================
--- head/sys/net/if_clone.c
+++ head/sys/net/if_clone.c
@@ -387,10 +387,8 @@
ifc->ifc_create = create;
ifc->ifc_destroy = destroy;
- if (if_clone_attach(ifc) != 0) {
- if_clone_free(ifc);
+ if (if_clone_attach(ifc) != 0)
return (NULL);
- }
EVENTHANDLER_INVOKE(if_clone_event, ifc);
@@ -410,10 +408,8 @@
ifc->ifcs_destroy = destroy;
ifc->ifcs_minifs = minifs;
- if (if_clone_attach(ifc) != 0) {
- if_clone_free(ifc);
+ if (if_clone_attach(ifc) != 0)
return (NULL);
- }
for (unit = 0; unit < minifs; unit++) {
char name[IFNAMSIZ];

File Metadata

Mime Type
text/plain
Expires
Sat, Aug 1, 12:45 AM (2 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35801626
Default Alt Text
D10386.id36939.diff (661 B)

Event Timeline