Open danieltrentman opened 9 years ago
diff -wb rdpdr-old.m rdpdr.m 797a798
if (prev != NULL)
Need to test prev before assignment in while loop:
RDAsynchronousIORequest iorq = conn->fileInfo[fd].firstIORequest, prev;
while (iorq != NULL) { if (iorq == requestToRemove) { if (prev != NULL) prev->next = iorq->next; xfree(requestToRemove); return iorq->next; }
diff -wb rdpdr-old.m rdpdr.m 797a798
Need to test prev before assignment in while loop:
RDAsynchronousIORequest iorq = conn->fileInfo[fd].firstIORequest, prev;
while (iorq != NULL) { if (iorq == requestToRemove) { if (prev != NULL) prev->next = iorq->next; xfree(requestToRemove); return iorq->next; }