- IEC 61850 server: fixed new memory leak in unbuffered reporting

pull/211/head
Michael Zillgith 6 years ago
parent b82a78db46
commit df0e7c08df

@ -224,8 +224,7 @@ ReportControl_destroy(ReportControl* self)
} }
} }
if (self->buffered) ReportBuffer_destroy(self->reportBuffer);
ReportBuffer_destroy(self->reportBuffer);
#if (CONFIG_MMS_THREADLESS_STACK != 1) #if (CONFIG_MMS_THREADLESS_STACK != 1)
Semaphore_destroy(self->createNotificationsMutex); Semaphore_destroy(self->createNotificationsMutex);

Loading…
Cancel
Save