X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgpkey.c;h=68ca6ffcb6a611da1662968b75560a0626a292ac;hp=4c476c93f4fc8d2d74cfa0f1c8506bc08d64e5ed;hb=0e654d058aa2b5027166bd3e535f85bbc4f214dc;hpb=a8477ebaa09990b3688164cbe5cf661c4189541d diff --git a/pgpkey.c b/pgpkey.c index 4c476c9..68ca6ff 100644 --- a/pgpkey.c +++ b/pgpkey.c @@ -450,7 +450,7 @@ static pgp_key_t pgp_select_key (pgp_key_t keys, ADDRESS * p, const char *s) if (i == keymax) { keymax += 5; - safe_realloc (&KeyTable, sizeof (pgp_uid_t *) * keymax); + mem_realloc (&KeyTable, sizeof (pgp_uid_t *) * keymax); } KeyTable[i++] = a; @@ -622,7 +622,7 @@ static pgp_key_t pgp_select_key (pgp_key_t keys, ADDRESS * p, const char *s) } mutt_menuDestroy (&menu); - FREE (&KeyTable); + mem_free (&KeyTable); set_option (OPTNEEDREDRAW); @@ -658,7 +658,7 @@ pgp_key_t pgp_ask_for_key (char *tag, char *whatfor, if (l) str_replace (&l->dflt, resp); else { - l = safe_malloc (sizeof (struct pgp_cache)); + l = mem_malloc (sizeof (struct pgp_cache)); l->next = id_defaults; id_defaults = l; l->what = str_dup (whatfor); @@ -767,7 +767,7 @@ static LIST *pgp_add_string_to_hints (LIST * hints, const char *str) hints = mutt_add_list (hints, t); } - FREE (&scratch); + mem_free (&scratch); return hints; }