Address code analysis issues
[ric-plt/lib/rmr.git] / src / rmr / si / src / si95 / siwait.c
index 6a72b30..128c1a7 100644 (file)
@@ -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 
        }