Check whether the tids array was properly (re)allocated when trying to find the list of tids.
Check whether the tids array was properly (re)allocated when trying
to find the list of tids.

Reported by Christopher Samuel with coccicheck.



git-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@2044 4b44e086-7f34-40ce-a3bd-00e031736276

BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc