Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 62beb4b in mainline


Ignore:
Timestamp:
2013-04-02T15:14:09Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
39c4d1f
Parents:
3b6c1d4
Message:

wavplay: return correct error value and destroy context on exit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/wavplay/main.c

    r3b6c1d4 r62beb4b  
    8585                printf("Failed to connect to default target: %s\n",
    8686                    str_error(ret));
    87                 fclose(source);
    88                 return ENOMEM;
     87                hound_context_destroy(hound);
     88                fclose(source);
     89                return ret;
    8990        }
    9091        static char buffer[BUFFER_SIZE];
Note: See TracChangeset for help on using the changeset viewer.