X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fsi%2Fsrc%2Fsi95%2Fsiwait.c;h=128c1a7ecf4b15355fe1f8186e4506a5e5a45a78;hb=5ec64c5253b3b7611ec69cc1487989fae45eca26;hp=6a72b300190f6cc08185c5af0354f2eb746c1c65;hpb=3c832c14cdda950ebd2efea2f53e4ed99de81521;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/si/src/si95/siwait.c b/src/rmr/si/src/si95/siwait.c index 6a72b30..128c1a7 100644 --- a/src/rmr/si/src/si95/siwait.c +++ b/src/rmr/si/src/si95/siwait.c @@ -72,6 +72,7 @@ extern int SIwait( struct ginfo_blk *gptr ) { ibuf = (char *) malloc( 2048 ); if( gptr->flags & GIF_SHUTDOWN ) { // cannot do if we should shutdown + free( ibuf ); return SI_ERROR; // so just get out }