Changeset 937a00e9


Ignore:
Timestamp:
Jun 19, 2011, 10:24:28 PM (10 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
c474a97, 9179fd7, 12505e3
Parents:
9d43dcc
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (06/19/11 22:20:17)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (06/19/11 22:24:28)
Message:
Don't leak timestr when setting time in a perl message

Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    ra9237aa r937a00e9  
    215215      owl_message_set_zwriteline(m, val);
    216216    } else if (!strcmp(key, "time")) {
     217      g_free(m->timestr);
    217218      m->timestr = g_strdup(val);
    218219      strptime(val, "%a %b %d %T %Y", &tm);
Note: See TracChangeset for help on using the changeset viewer.