MeshToolkit / MSTK

Infrastructure library for reading, writing, querying and manipulating distributed, general unstructured polyhedral meshes
Other
29 stars 10 forks source link

Memory leak #89

Open lipnikov opened 5 years ago

lipnikov commented 5 years ago

Valgrind shows that one of List_New leaks memory. I think it heppens in this line

https://github.com/MeshToolkit/MSTK/blob/4847ab3450135fd5ca425c5ee960d802a242df5b/src/io/MESH_ReadExodusII_Serial.c#L1284

raovgarimella commented 5 years ago

Yep. That looks like a memory leak


Rao V Garimella Tel: (505) 665-2928 T-5, MS B284 '\ '\ FAX: (505) 665-5757 Los Alamos National Lab ( )-( ) Email: rao@lanl.gov Los Alamos, NM 87545 Web: http://math.lanl.gov/~rao


From: Konstantin Lipnikov notifications@github.com Sent: Thursday, May 23, 2019 10:29:52 PM To: MeshToolkit/MSTK Cc: Subscribed Subject: [MeshToolkit/MSTK] Memory leak (#89)

Valgrind shows that one of List_New leaks memory. I think it heppens in this line

https://github.com/MeshToolkit/MSTK/blob/4847ab3450135fd5ca425c5ee960d802a242df5b/src/io/MESH_ReadExodusII_Serial.c#L1284

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/MeshToolkit/MSTK/issues/89?email_source=notifications&email_token=AEBAZQDY4DOEFLSGLKIJKWDPW5VMBA5CNFSM4HPMDJX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GVTRODA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEBAZQDLY4NF5WVB7XEIIRLPW5VMBANCNFSM4HPMDJXQ.