Mercurial > libpst
diff src/getidblock.c @ 172:6954d315aaa8
move version-info into main configure.in, and set it properly.
prefix all external symbols in the shared library with pst_ to avoid symbol clashes with other shared libraries.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 04 Apr 2009 16:00:48 -0700 |
parents | ab384fed78c5 |
children | 0a4f7ecd7452 |
line wrap: on
line diff
--- a/src/getidblock.c Sun Mar 29 08:51:13 2009 -0700 +++ b/src/getidblock.c Sat Apr 04 16:00:48 2009 -0700 @@ -52,7 +52,7 @@ ptr = pst_getNextDptr(ptr); } if (!ptr) { - ptr = (pst_desc_ll *) xmalloc(sizeof(pst_desc_ll)); + ptr = (pst_desc_ll *) pst_malloc(sizeof(pst_desc_ll)); memset(ptr, 0, sizeof(pst_desc_ll)); ptr->desc = pst_getID(&pstfile, i_id); }