Revision 3300 src/jpilot.c

View differences:

jpilot.c
849 849
			return MGU_ERROR_READ;
850 850
		}
851 851
		if (feof(in)) {
852
			fclose(in);
852 853
			return MGU_EOF;
853 854
		}
854 855
	}
......
866 867
				break;
867 868
			}
868 869
			if (feof(in)) {
870
				free_mem_rec_header(&mem_rh);
871
				fclose(in);
869 872
				return MGU_EOF;
870 873
			}
871 874
		}

Also available in: Unified diff