forked from github/server
nochmal der gleiche fehler, i_free ist zu pingelig :-)
This commit is contained in:
parent
4855b6de4a
commit
f685f770f0
|
@ -867,9 +867,7 @@ cr_output_unit(FILE * F, const region * r,
|
||||||
if (show!=u->items) {
|
if (show!=u->items) {
|
||||||
/* free the temporary items */
|
/* free the temporary items */
|
||||||
while (show) {
|
while (show) {
|
||||||
item * ishow = show;
|
i_free(i_remove(&show, show));
|
||||||
show = show->next;
|
|
||||||
i_free(ishow);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2832,7 +2832,7 @@ reports(void)
|
||||||
if (f->no != MONSTER_FACTION) {
|
if (f->no != MONSTER_FACTION) {
|
||||||
int error = write_reports(f, ltime);
|
int error = write_reports(f, ltime);
|
||||||
if (error) retval = error;
|
if (error) retval = error;
|
||||||
if (!nosh && f->email && BAT) {
|
if (f->email && BAT) {
|
||||||
sprintf(buf, "%s/%s.sh", reportpath(), factionid(f));
|
sprintf(buf, "%s/%s.sh", reportpath(), factionid(f));
|
||||||
shfp = fopen(buf, "w");
|
shfp = fopen(buf, "w");
|
||||||
fprintf(shfp,"#!/bin/sh\n\nPATH=%s\n\n",MailitPath());
|
fprintf(shfp,"#!/bin/sh\n\nPATH=%s\n\n",MailitPath());
|
||||||
|
|
Loading…
Reference in New Issue