lease complete the changelog entry below
[claws.git] / src / plugins / pgpcore / sgpgme.c
index cf70ec0975874aac03cb45500c49275d73774c5a..0fcce594308f1e717c4c998e10f87c3515624a59 100644 (file)
@@ -353,7 +353,7 @@ gpgme_data_t sgpgme_data_from_mimeinfo(MimeInfo *mimeinfo)
        debug_print("tmp file %s\n", tmp_file);
        
        err = gpgme_data_new_from_file(&data, tmp_file, 1);
-       g_unlink(tmp_file);
+       claws_unlink(tmp_file);
        g_free(tmp_file);
 
        debug_print("data %p (%d %d)\n", (void *)&data, mimeinfo->offset, mimeinfo->length);