commit 59573b9bf654f0fc5a3554d43076efa0ad080a1f from: Matthias L. Jugel via: GitHub date: Tue Feb 13 19:42:59 2018 UTC make warning yellow commit - a7d174bc25b0847b1149629e7ad3c041e61087a3 commit + 59573b9bf654f0fc5a3554d43076efa0ad080a1f blob - 97d395279ca23bd15e181d014968cadf6b792ec7 blob + 3d82567d754404fab91d904cf3469ba9bde25227 --- memtrace.py +++ memtrace.py @@ -106,7 +106,7 @@ while True: allocated -= freed del mem[m.group(4)] else: - print "!! WARN: free(%s)" % m.group(4) + print "\033[33m!! WARN: free(%s)\033[0m" % m.group(4) print "\033[1m== (%03d) \033[34m%8d\033[0m [%8x] \033[92m-%-6d\033[0m (%s)" % \ (len(mem), allocated, allocated, freed, line.replace(m.group(1), "")) continue