Diff for /rpl/src/instructions_d5.c between versions 1.97 and 1.98

version 1.97, 2012/12/13 16:59:41 version 1.98, 2012/12/17 21:22:43
Line 838  instruction_detach(struct_processus *s_e Line 838  instruction_detach(struct_processus *s_e
     struct_liste_chainee                *l_element_precedent;      struct_liste_chainee                *l_element_precedent;
     struct_liste_chainee                *l_element_suivant;      struct_liste_chainee                *l_element_suivant;
   
       struct_liste_variables_partagees    *l_element_partage_courant;
       struct_liste_variables_partagees    *l_element_partage_suivant;
   
     struct_liste_variables_statiques    *l_element_statique_courant;      struct_liste_variables_statiques    *l_element_statique_courant;
     struct_liste_variables_statiques    *l_element_statique_suivant;      struct_liste_variables_statiques    *l_element_statique_suivant;
   
Line 938  instruction_detach(struct_processus *s_e Line 941  instruction_detach(struct_processus *s_e
                         (*(*s_etat_processus).pointeur_variable_courante).nom,                          (*(*s_etat_processus).pointeur_variable_courante).nom,
                         (*(*s_etat_processus).pointeur_variable_courante)                          (*(*s_etat_processus).pointeur_variable_courante)
                         .variable_partagee, (*(*s_etat_processus)                          .variable_partagee, (*(*s_etat_processus)
                         .pointeur_variable_courante).origine) == d_faux)                          .pointeur_variable_courante).origine) == NULL)
                 {                  {
                     liberation(s_etat_processus, s_objet);                      liberation(s_etat_processus, s_objet);
   
Line 2574  instruction_detach(struct_processus *s_e Line 2577  instruction_detach(struct_processus *s_e
             l_element_statique_courant = l_element_statique_suivant;              l_element_statique_courant = l_element_statique_suivant;
         }          }
   
           l_element_partage_courant = (*(*s_etat_processus)
                   .l_liste_variables_partagees);
   
           while(l_element_partage_courant != NULL)
           {
               l_element_partage_suivant = (*l_element_partage_courant).suivant;
               free(l_element_partage_courant);
               l_element_partage_courant = l_element_partage_suivant;
           }
   
         if ((*s_etat_processus).entree_standard != NULL)          if ((*s_etat_processus).entree_standard != NULL)
         {          {
             pclose((*s_etat_processus).entree_standard);              pclose((*s_etat_processus).entree_standard);
Line 2599  instruction_detach(struct_processus *s_e Line 2612  instruction_detach(struct_processus *s_e
         }          }
   
         liberation_arbre_variables_partagees(s_etat_processus,          liberation_arbre_variables_partagees(s_etat_processus,
                 (*s_etat_processus).s_arbre_variables);                  (*(*s_etat_processus).s_arbre_variables_partagees));
         liberation_arbre_variables(s_etat_processus,          liberation_arbre_variables(s_etat_processus,
                 (*s_etat_processus).s_arbre_variables, d_vrai);                  (*s_etat_processus).s_arbre_variables, d_vrai);
         free((*s_etat_processus).pointeurs_caracteres_variables);          free((*s_etat_processus).pointeurs_caracteres_variables);

Removed from v.1.97  
changed lines
  Added in v.1.98


CVSweb interface <joel.bertrand@systella.fr>