--- rpl/src/instructions_r5.c 2010/04/21 13:45:49 1.7 +++ rpl/src/instructions_r5.c 2010/08/26 19:07:40 1.16 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.0.15 + RPL/2 (R) version 4.0.19 Copyright (C) 1989-2010 Dr. BERTRAND Joël This file is part of RPL/2. @@ -20,7 +20,7 @@ */ -#include "rpl.conv.h" +#include "rpl-conv.h" /* @@ -816,8 +816,8 @@ instruction_row_plus(struct_processus *s return; } - if (position == (integer8) (*((struct_matrice *) - (*s_objet_argument_3).objet)).nombre_lignes) + if (position != ((integer8) (*((struct_matrice *) + (*s_objet_argument_3).objet)).nombre_lignes + 1)) { for(j = i = 0; i < (*((struct_matrice *) (*s_objet_argument_3).objet)).nombre_lignes; i++) @@ -853,6 +853,8 @@ instruction_row_plus(struct_processus *s } else { + free((*((struct_matrice *) (*s_objet_argument_3).objet)).tableau[0]); + if (((*((struct_matrice *) (*s_objet_argument_3).objet)).tableau = malloc(sizeof(void *))) == NULL) {