thorsson_cups 0.0.37 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/cups.c +1 -5
- metadata +1 -1
data/ext/cups.c
CHANGED
|
@@ -192,11 +192,7 @@ static VALUE cups_show_dests(VALUE self)
|
|
|
192
192
|
rb_ary_push(dest_list, destination); // Add this testination name to dest_list string
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
cupsFreeDests(num_dests, dests);
|
|
196
|
-
|
|
197
|
-
if(dests != NULL)
|
|
198
|
-
free(dests);
|
|
199
|
-
|
|
195
|
+
cupsFreeDests(num_dests, dests);
|
|
200
196
|
return dest_list;
|
|
201
197
|
}
|
|
202
198
|
|