diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-20 11:24:12 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-20 11:24:12 +0800 |
| commit | a3b91bf175b9d51fdd3674112e60a773f13c8ea9 (patch) | |
| tree | c297742f6f068afed7fe7e901192cd21d2f7b9ee /ord.c | |
| parent | 0d45381125b73feea759213b8341deb4e08d600c (diff) | |
Move product freeing implementation to product's own implementation
Diffstat (limited to 'ord.c')
| -rw-r--r-- | ord.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ #include <stdlib.h> #include <stdbool.h> -#include "icclient/client.h" +#include "icclient/product.h" #include "icclient/ord.h" void icclient_ord_free(struct icclient_ord_order *order) { for (size_t i = 0; i < order->nitems; i++) - icclient_freeproduct(order->items[i]->product); + icclient_product_free(order->items[i]->product); } |