Changeset 82e8fe8


Ignore:
Timestamp:
2008-02-17T01:50:23Z (17 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
d0faf62
Parents:
ba5add7
Message:

free query strings after query_add

File:
1 edited

Legend:

Unmodified
Added
Removed
  • otr.c

    rba5add7 r82e8fe8  
    864864                char *s = g_strdup_printf("account %d already has a key, replace it?", n);
    865865                query_add(irc, NULL, s, yes_keygen, NULL, a);
     866                g_free(s);
    866867        } else {
    867868                otr_keygen(irc, a->user, a->prpl->name);
     
    941942                s = g_strdup_printf("about to forget fingerprint %s, are you sure?", human);
    942943                query_add(irc, NULL, s, yes_forget_fingerprint, NULL, fp);
     944                g_free(s);
    943945        }
    944946       
     
    970972                s = g_strdup_printf("about to forget otr data about %s, are you sure?", args[2]);
    971973                query_add(irc, NULL, s, yes_forget_context, NULL, ctx);
     974                g_free(s);
    972975        }
    973976       
Note: See TracChangeset for help on using the changeset viewer.