diff options
author | aiju <devnull@localhost> | 2018-03-20 11:23:41 +0000 |
---|---|---|
committer | aiju <devnull@localhost> | 2018-03-20 11:23:41 +0000 |
commit | 5d4a456ae6af550a39280b98554b42716a07f8ff (patch) | |
tree | fa01dd46a03e1ac372d45d714514af0466a935e2 /sys/src/libsat/misc.c | |
parent | 547f60b4c507778099635f5d2ec4919e1beb6a57 (diff) |
libsat: setmalloctag, fix incorrect allocation size
Diffstat (limited to 'sys/src/libsat/misc.c')
-rw-r--r-- | sys/src/libsat/misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/libsat/misc.c b/sys/src/libsat/misc.c index e7e843529..f62aed431 100644 --- a/sys/src/libsat/misc.c +++ b/sys/src/libsat/misc.c @@ -106,6 +106,7 @@ satrealloc(SATSolve *s, void *v, ulong n) v = realloc(v, n); if(v == nil) saterror(s, "realloc: %r"); + setmalloctag(v, getcallerpc(&s)); return v; } |