[ 
https://issues.apache.org/jira/browse/MINIFICPP-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306073#comment-17306073
 ] 

Martin Zink commented on MINIFICPP-1354:
----------------------------------------

Provided fix for most of these errors in 
[https://github.com/apache/nifi-minifi-cpp/pull/1035] (mainly they were just 
missing deallocations in the tests, but there were a couple of issues which 
were present in the production code as well)

The ones remaining come from 
https://issues.apache.org/jira/browse/MINIFICPP-839 which is a separate issue 
which needs more substantial changes.

> Fix minor errors found by the address sanitizer
> -----------------------------------------------
>
>                 Key: MINIFICPP-1354
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1354
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Ferenc Gerlits
>            Assignee: Martin Zink
>            Priority: Minor
>              Labels: MiNiFi-CPP-Hygiene
>             Fix For: 0.10.0
>
>
> If we run gcc's (version 8.4.0) address sanitizer on the unit tests, it finds 
> one "mismatched malloc vs operator delete" error in nanofi (triggered from 4 
> unit tests), and 49 memory leaks, which all seem to be in the unit tests.
> I don't think any of these errors affect production minifi, but still we 
> should fix them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to