Commit 3205607c authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Fix memory leak.

parent 869e9a3f
......@@ -1086,6 +1086,7 @@ void reendcat()
QFTELL(fitscat->file, pos, fitscat->filename);
QFSEEK(fitscat->file, tab->headpos, SEEK_SET, fitscat->filename);
save_tab(fitscat, tab);
remove_tab(fitscat, "LDAC_IMHEAD", 0);
QFSEEK(fitscat->file, pos, SEEK_SET, fitscat->filename);
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment