Page MenuHomeFreeBSD

D5921.diff
No OneTemporary

D5921.diff

Index: sys/net/altq/altq_hfsc.c
===================================================================
--- sys/net/altq/altq_hfsc.c
+++ sys/net/altq/altq_hfsc.c
@@ -1774,20 +1774,11 @@
cl->cl_fsc == NULL) {
fsc_tmp = malloc(sizeof(struct internal_sc),
M_DEVBUF, M_WAITOK);
- if (fsc_tmp == NULL) {
- free(rsc_tmp);
- return (ENOMEM);
- }
}
if (usc != NULL && (usc->m1 != 0 || usc->m2 != 0) &&
cl->cl_usc == NULL) {
usc_tmp = malloc(sizeof(struct internal_sc),
M_DEVBUF, M_WAITOK);
- if (usc_tmp == NULL) {
- free(rsc_tmp);
- free(fsc_tmp);
- return (ENOMEM);
- }
}
cur_time = read_machclk();

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 15, 3:32 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091730
Default Alt Text
D5921.diff (645 B)

Event Timeline