Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak #426

Merged
merged 2 commits into from
Jun 22, 2016
Merged

Memory leak #426

merged 2 commits into from
Jun 22, 2016

Conversation

afx00
Copy link
Contributor

@afx00 afx00 commented Jun 22, 2016

The first patch fixes memory leak that occurs when receive unexpected message in PTP packet.
In addition, checking transportSpecifit needs to be done after calling getRxTimestamp().
If buildPTPMessage() is returned before calling getRxTimeStamp() rxTimestampList will keep increasing in LinuxTimestamperGeneric class.

The second patch removes to assign duplicated InterfaceName object unnecessarily.
And this also occurs memory leak.

afx00 added 2 commits June 22, 2016 14:12
…cket.

Signed-off-by: Windriver Yong-heon.Kim <yong-heon.kim@windriver.com>
Signed-off-by: Windriver Yong-heon.Kim <yong-heon.kim@windriver.com>
@andrew-elder
Copy link

These changes look ok to me. Anyone else?

@pinealservo pinealservo merged commit 002cfdf into Avnu:open-avb-next Jun 22, 2016
@afx00 afx00 deleted the ptp-memory branch June 23, 2016 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants