[rhythmbox: 1/2] file-helpers: propagate error to caller from rb_uri_mkstemp
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox: 1/2] file-helpers: propagate error to caller from rb_uri_mkstemp
- Date: Mon, 31 May 2021 10:57:29 +0000 (UTC)
commit 8c7ea2492a1b4548315ac4a51b435e2c6753d980
Author: crvi <crvisqr gmail com>
Date: Wed Apr 21 05:31:01 2021 +0530
file-helpers: propagate error to caller from rb_uri_mkstemp
lib/rb-file-helpers.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib/rb-file-helpers.c b/lib/rb-file-helpers.c
index 28a8154c1..3639c182e 100644
--- a/lib/rb-file-helpers.c
+++ b/lib/rb-file-helpers.c
@@ -1106,6 +1106,7 @@ rb_uri_mkstemp (const char *prefix, char **uri_ret, GOutputStream **stream, GErr
*stream = G_OUTPUT_STREAM (fstream);
return TRUE;
} else {
+ g_propagate_error (error, e);
g_free (uri);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]