Merge patches from branch

r2406 | dcl | 2008-03-27 13:22:19 +1100 (Thu, 27 Mar 2008) | 2 lines
This commit is contained in:
Douglas Clowes
2008-03-27 13:22:19 +11:00
parent 18083e364f
commit 3f0e76f34f
2 changed files with 6 additions and 2 deletions

View File

@@ -46,6 +46,10 @@ void killSicsPoll(void *data){
status = LLDnodePtr2Next(self->pollList);
}
LLDdelete(self->pollList);
if (self->pDes) {
DeleteDescriptor(self->pDes);
self->pDes = NULL;
}
free(self);
if(defCon != NULL){
SCDeleteConnection(defCon);
@@ -203,7 +207,7 @@ static void printPollList(pSicsPoll self, SConnection *pCon){
<%testNoPar 4 9%>
<%testPriv usMugger 9%>
driv = makePollDriver(pCon,argv[3], argv[2],
argc-3, &argv[4]);
argc-4, &argv[4]);
if(driv != NULL){
LLDnodeAppend(self->pollList,&driv);
SCSendOK(pCon);