mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
add g_return_if_fail (checksum != NULL)
2008-09-02 Michael Natterer <mitch@imendio.com> * glib/gchecksum.c (g_checksum_reset): add g_return_if_fail (checksum != NULL) svn path=/trunk/; revision=7423
This commit is contained in:
parent
bb30fa5dff
commit
ed2bbc43cc
@ -1,3 +1,8 @@
|
|||||||
|
2008-09-02 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
|
* glib/gchecksum.c (g_checksum_reset): add
|
||||||
|
g_return_if_fail (checksum != NULL)
|
||||||
|
|
||||||
2008-09-01 Paolo Borelli <pborelli@katamail.com>
|
2008-09-01 Paolo Borelli <pborelli@katamail.com>
|
||||||
|
|
||||||
Bug 550040 - Move GString, rand and printf tests to the unit test
|
Bug 550040 - Move GString, rand and printf tests to the unit test
|
||||||
|
@ -1130,6 +1130,8 @@ g_checksum_new (GChecksumType checksum_type)
|
|||||||
void
|
void
|
||||||
g_checksum_reset (GChecksum *checksum)
|
g_checksum_reset (GChecksum *checksum)
|
||||||
{
|
{
|
||||||
|
g_return_if_fail (checksum != NULL);
|
||||||
|
|
||||||
g_free (checksum->digest_str);
|
g_free (checksum->digest_str);
|
||||||
checksum->digest_str = NULL;
|
checksum->digest_str = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user