Changeset 74c9e7f


Ignore:
Timestamp:
2014-02-11T17:31:07Z (10 years ago)
Author:
unknown <pesco@…>
Branches:
master
Children:
820a2a7
Parents:
e76cf26
Message:

fix a segfault when otr-coloring /me messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • otr.c

    re76cf26 r74c9e7f  
    726726        if(typ == OTRL_CONVERT_RECEIVING) {
    727727                char *msg = g_strdup(src);
     728                char *buf = msg;
    728729
    729730                /* HTML decoding */
     
    761762                        *dst = g_strdup_printf("%s\x03%.2d%s%s\x0F", pre,
    762763                                color, sep, msg);
    763                         g_free(msg);
     764                        g_free(buf);
    764765                }
    765766        } else {
Note: See TracChangeset for help on using the changeset viewer.