blob: 54a19aa6fcdc9242ddf3956aaed77591ff6a1c8f [file] [log] [blame]
Denis Vlasenkof962a032007-11-23 12:50:54 +00001#!/bin/sh
2
3# hush's stderr with leak debug enabled
4output=output
5
6freelist=`grep 'free 0x' "$output" | cut -d' ' -f2 | sort | uniq | xargs`
7
8grep -v free "$output" >temp1
9for freed in $freelist; do
10 echo Dropping $freed
11 cat temp1 | grep -v $freed >temp2
12 mv temp2 temp1
13done