Fix srenew/sfree_aligned misuse in PME
authorRoland Schulz <roland@utk.edu>
Fri, 27 Apr 2012 18:36:56 +0000 (14:36 -0400)
committerRoland Schulz <roland@utk.edu>
Sat, 28 Apr 2012 13:49:40 +0000 (09:49 -0400)
commit52840303bddd71e0a2179717cfce2026c2961ba1
tree3430668c0473f274228f6cad960a809a3e7a0355
parentf464891f261217365e4cceb2e4f84d22cbd6f2d6
Fix srenew/sfree_aligned misuse in PME

denom was first allocated with srenew and then freed with
sfree_aligned. This is illegal and crashes on Windows.

Change-Id: I83d8c35973ed0be1bb23396d6b97bf1d4b0f5f06
src/mdlib/pme.c