| 15883:969b74a3e27a | 15884:4de1981757fc |
|---|---|
| 49 req->callback = cb; | 49 req->callback = cb; |
| 50 req->data = resp_data; | 50 req->data = resp_data; |
| 51 req->user_define = user_define; | 51 req->user_define = user_define; |
| 52 req->ref_count = 1; | 52 req->ref_count = 1; |
| 53 | 53 |
| 54 gaim_debug_info("novell", "Creating NMRequest instance, total=%d\n", ++count); | 54 purple_debug_info("novell", "Creating NMRequest instance, total=%d\n", ++count); |
| 55 | 55 |
| 56 return req; | 56 return req; |
| 57 } | 57 } |
| 58 | 58 |
| 59 void | 59 void |
| 62 if (req && (--req->ref_count == 0)) { | 62 if (req && (--req->ref_count == 0)) { |
| 63 if (req->cmd) | 63 if (req->cmd) |
| 64 g_free(req->cmd); | 64 g_free(req->cmd); |
| 65 g_free(req); | 65 g_free(req); |
| 66 | 66 |
| 67 gaim_debug_info("novell", | 67 purple_debug_info("novell", |
| 68 "Releasing NMRequest instance, total=%d\n", --count); | 68 "Releasing NMRequest instance, total=%d\n", --count); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } | 71 } |
| 72 | 72 |