aboutsummaryrefslogtreecommitdiff
path: root/src/image.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.cc')
-rw-r--r--src/image.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.cc b/src/image.cc
index 63d630c7..8ecf2a72 100644
--- a/src/image.cc
+++ b/src/image.cc
@@ -65,6 +65,7 @@ static void Image_free(DilloImage *Image)
/*
* Unref and free if necessary
+ * Do nothing if the argument is NULL
*/
void a_Image_unref(DilloImage *Image)
{
@@ -75,6 +76,7 @@ void a_Image_unref(DilloImage *Image)
/*
* Add a reference to an Image struct
+ * Do nothing if the argument is NULL
*/
void a_Image_ref(DilloImage *Image)
{