dump1090 icon indicating copy to clipboard operation
dump1090 copied to clipboard

Fix a memory leak from use of realpath() in HTTP request processing.

Open mutability opened this issue 10 years ago • 2 comments

realpath() returns a heap-allocated buffer if given NULL for the destination buffer. This must be freed by the caller; dump1090 does not do this.

Instead of worrying about freeing it, take the simpler approach of just providing a stack-allocated destination buffer.

mutability avatar Dec 07 '14 14:12 mutability

just inserted the code in to my fork it has this and plane count and plane count in title and signal and settings page and lots more including almost all pull request here demo at http://bitropy.net:8080

steel101 avatar Mar 22 '15 20:03 steel101

There's no real need to comment on every pull request you do something with..

mutability avatar Mar 22 '15 20:03 mutability