* this might be the try to free a null-pointer.
authorWilfried Göesgens <willi@citadel.org>
Sat, 10 Nov 2007 23:11:32 +0000 (23:11 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 10 Nov 2007 23:11:32 +0000 (23:11 +0000)
citadel/modules/calendar/serv_calendar.c

index c97a4e82a63652092a96eaa4cb2dd23075614479..1f47e72d76e8a5266f9543c00fbcaf3e8ac14dd7 100644 (file)
@@ -1287,7 +1287,6 @@ void ical_freebusy(char *who) {
        if (fb == NULL) {
                cprintf("%d Internal error: cannot allocate memory.\n",
                        ERROR + INTERNAL_ERROR);
-               icalcomponent_free(encaps);
                getroom(&CC->room, hold_rm);
                return;
        }