From 529eb1a7a33d4d9a2a21d6a8226b3366863d8882 Mon Sep 17 00:00:00 2001 From: Dave Marples Date: Fri, 29 Nov 2024 08:10:02 +0000 Subject: [PATCH] Avoid memory leak --- Src/orbtop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/orbtop.c b/Src/orbtop.c index f8cf205b..f578bba2 100644 --- a/Src/orbtop.c +++ b/Src/orbtop.c @@ -814,6 +814,7 @@ void _flushHash( void ) for ( a = _r.addresses; a != NULL; a = hh.next ) { hh = a->hh; + if ( a->n ) free( a->n ); free( a ); }