1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

26 Commits

Author SHA1 Message Date
Dmitry Podgorny
89b76400c8 jid: Fixed memory leak in jid_create() 2015-06-24 20:42:20 +00:00
James Booth
240f6a3f79 Fixed various jid and account mem leaks 2015-06-24 20:53:04 +01:00
James Booth
4c78534be0 Use null check convention in jid.c 2015-05-04 23:27:41 +01:00
James Booth
f5686cab1e Fixed create_fulljid 2015-02-23 23:52:53 +00:00
James Booth
70b923a7fc Lowercase barejid in Jid 2015-02-23 23:44:34 +00:00
James Booth
b3be26a214 Updated copyright 2015-02-10 23:16:09 +00:00
James Booth
e263e00a85 Refactored parsing caps 2014-11-26 21:59:36 +00:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
James Booth
d6e92f62dc Fixed cppcheck warnings 2014-04-26 00:36:36 +01:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
Dmitry Podgorny
0346fda0b3 most FREE_SET_NULL replaced with free
FREE_SET_NULL makes extra assignment of NULL for pointers in stack or
dynamic memory that is going to be freed.
FREE_SET_NULL is useful for pointers that can be used in future.
2013-08-03 14:27:07 +03:00
Dmitry Podgorny
7b37f2ace7 separate glib allocator and stdlib malloc/free
Memory allocated by glib should be freed by g_free. Probably g_free
calls stdlib free, but in order to avoid portability issues better use
g_free as described in glib documentation.
2013-07-31 02:03:22 +03:00
Dmitry Podgorny
5505387c37 fixed several memory leaks in command.c and jid.c 2013-07-31 01:51:07 +03:00
James Booth
2cea263917 Added asserts 2013-02-03 23:46:20 +00:00
James Booth
fc5bfb7d33 Tidied #include's 2013-02-02 20:55:58 +00:00
James Booth
235339e5a5 Renamed function in jid 2013-01-27 02:00:55 +00:00
James Booth
8bdab23e25 Renamed create jid function using barejid and resource 2013-01-27 01:14:59 +00:00
James Booth
bbdc341325 Handle NULL in jid_destroy() 2013-01-26 16:24:43 +00:00
James Booth
d239a1278b Fixed jid handling to allow @ and / in resource 2013-01-26 16:13:11 +00:00
James Booth
d87c20e666 Removed jid_is_room() 2013-01-13 18:06:29 +00:00
James Booth
ec75b5e04a Use Jid datatype in chat rooms 2013-01-13 03:14:36 +00:00
James Booth
d827abddb7 Added jid_destroy() 2013-01-13 01:47:29 +00:00
Dmitry Podgorny
76270fdca8 fixed memory leak in parse_room_jid 2013-01-13 02:41:49 +02:00
James Booth
3a22719bd7 Added jid_create_room_jid 2013-01-13 00:19:56 +00:00
James Booth
1cc33cc491 Changed Jid typedef to be explicit pointer 2013-01-13 00:05:25 +00:00
James Booth
94bcf1889d Added jid datatype 2013-01-12 23:10:56 +00:00