Skip to content

Commit 0b3e941

Browse files
ricrogzdjb-rwth
authored andcommitted
frree One_ti->t_group in FreeStrFromINChI
1 parent 51baad1 commit 0b3e941

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

INCHI-1-SRC/INCHI_BASE/src/ichirvr7.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,9 @@ void FreeStrFromINChI(StrFromINChI* pStruct[INCHI_NUM][TAUT_NUM],
13861386
inchi_free( pStruct1[k].ti.t_group );
13871387
}
13881388
*/
1389+
if ( pStruct1[k].One_ti.t_group ) {
1390+
inchi_free( pStruct1[k].One_ti.t_group );
1391+
}
13891392
if (pStruct1[k].pXYZ)
13901393
{
13911394
inchi_free(pStruct1[k].pXYZ); /* djb-rwth: ui_rr? */
@@ -1516,7 +1519,7 @@ void FreeInpInChI(InpInChI* pOneInput)
15161519

15171520
}
15181521
}
1519-
#endif
1522+
#endif
15201523

15211524
}
15221525
inchi_free(pOneInput->pInpInChI[iINChI][j]);

0 commit comments

Comments
 (0)