Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
list = (int*)malloc(s);
if (i_list == NULL) {
  /* Handle Allocation Error */
}
/* Continue Processing list */

...

Code Block
if (s== 0) {
  /* Handle Error */
}
list = (int*)malloc(s);
if (i_list == NULL) {
  /* Handle Allocation Error */
}
/* Continue Processing list */

...