add: database->searchList[c] = NULL;
context: WMSetUDSearchList(WMUserDefaults *database, WMPropList *list){    int i, c;        if (database->searchList) {	i = 0;	while (database->searchList[i]) {	    WMReleasePropList(database->searchList[i]);	    i++;	}	wfree(database->searchList);    }    if (database->searchListArray) {	WMReleasePropList(database->searchListArray);    }    c = WMGetPropListItemCount(list);    database->searchList = wmalloc(sizeof(WMPropList*)*(c+1));    for (i=0; i<c; i++) {	database->searchList[i] = WMGetFromPLArray(list, i);    }        database->searchListArray = WMDeepCopyPropList(list);}