probably a bug.
To find code added/modifyied, search "Fixed".
Gianluca Puggelli
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.28 1996/12/07 04:38:40 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.29 1996/12/26 17:49:05 momjian Exp $
*
* NOTES
*
StreamClose(port->sock);
next = DLGetSucc(curr);
DLRemove(curr);
+ free(port);
DLFreeElem(curr);
curr = next;
continue;
bp = (Backend*)DLE_VAL(curr);
if (bp->pid == pid) {
DLRemove(curr);
+ free(bp);
DLFreeElem(curr);
break;
}
prev = DLGetPred(curr);
DLRemove(curr);
+ free(bp);
DLFreeElem(curr);
if (!prev) { /* removed head */
curr = DLGetHead(BackendList);
continue;
}
- curr = DLGetSucc(curr);
+ curr = DLGetSucc(prev);
}
/*
* -------------