URI: 
       tsam: freetmpstr instead of free - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit edfe3c016fe6ef10c55f7a17aab668214ec21efc
   DIR parent dc2a17b95cace1f220292cb6df97ee423d6be229
  HTML Author: Xiao-Yong Jin <xjin@anl.gov>
       Date:   Wed, 21 Mar 2018 22:24:12 -0500
       
       sam: freetmpstr instead of free
       
       Diffstat:
         M src/cmd/sam/error.c                 |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/src/cmd/sam/error.c b/src/cmd/sam/error.c
       t@@ -138,7 +138,7 @@ termwrite(char *s)
                        else
                                Strinsert(&cmdstr, p, cmdstr.n);
                        cmdptadv += p->n;
       -                free(p);
       +                freetmpstr(p);
                }else
                        Write(2, s, strlen(s));
        }