Diff for /gpl/axl/src/axl_error.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2011/06/08 07:09:12 version 1.1.1.2, 2012/02/17 12:50:03
Line 147  void axl_error_new (int code, char * error_code, axlSt Line 147  void axl_error_new (int code, char * error_code, axlSt
   
         /* create the error to be reported */          /* create the error to be reported */
         error             = axl_new (axlError, 1);           error             = axl_new (axlError, 1); 
           /* check allocated value */
           if (error == NULL)
                   return;
         error->code       = code;          error->code       = code;
         error->defined    = -346715;          error->defined    = -346715;
         if (stream == NULL) {          if (stream == NULL) {
Line 210  void   axl_error_report   (axlError ** _error, int cod Line 213  void   axl_error_report   (axlError ** _error, int cod
   
         /* create the error to be reported */          /* create the error to be reported */
         error             = axl_new (axlError, 1);           error             = axl_new (axlError, 1); 
           /* check reference */
           if (error == NULL) {
                   /* free string and clean called variable */
                   axl_free (string);
                   (* _error) = NULL;
                   return;
           }
         error->code       = code;          error->code       = code;
         error->defined    = -346715;          error->defined    = -346715;
         /* allocate enough memory */          /* allocate enough memory */

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>