clean up two small memory leaks.

This commit is contained in:
pinkerton%netscape.com 1999-08-30 22:15:40 +00:00
parent 5b9c4e9270
commit 766df5c770
2 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,7 @@ nsToolbarDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
delete [] buf;
}
}
delete [] toolbarItemMime;
}
} // foreach drag item

View File

@ -893,6 +893,8 @@ nsToolboxFrame::DragDrop(nsIDOMEvent* aMouseEvent)
printf("Dropped: %s\n", stuffToPaste);
dragSession->SetCanDrop(PR_TRUE);
}
delete [] whichFlavor;
}
} // foreach drag item
}